lllyasviel / lllyasviel/sd-forge-layerdiffuse

Do you have any plans to create a transparent model with a different transparent color?

Open
#151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

I think this transparency model has been trained to determine which pixels should be removed when the background color is 50% gray, or when converted to 50% gray in brightness.

However, in this case, there are quite a few color pixels that are 50% gray in brightness equivalent, so there is a good chance that areas that you don't want to be transparent will become transparent.

If you train it to use white or black as the transparent color, I think you'll be able to perform cutout operations over a wider range.

Do you have any plans in the future to create a generative model that can use other colors as transparent areas?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. Review the transparency model and its training setup, focusing on whether white or black can be used as the transparent color; done would be a supported model or a documented decision about future support.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.