lllyasviel / lllyasviel/sd-forge-layerdiffuse

inference stage layerdiffusion: layer_xl_transparent_attn.safetensors

Open
#80 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

Thank you for your commendable work. Your remarkable contributions have served as a significant source of inspiration for recent advancements in layer-based image editing. Figure 2 of your paper on Transparent Image Layer Diffusion using Latent Transparency (https://arxiv.org/pdf/2402.17113.pdf) demonstrates that during the training phase, only the encoder and decoder weights are required, while the remaining weights of sd-xl are held fixed. However, I am currently perplexed regarding the inference stage. Is it necessary to employ the alpha-based encoder weight despite the absence of an alpha channel? As far as my understanding goes, for the sole purpose of foreground image generation during inference, a well-trained decoder and other layer_xl_transparent_attn.safetensors are indispensable. Where does layer_xl_transparent_attn.safetensors come from? how it train in paper. I greatly appreciate your reply.

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

Start with the linked Transparent Image Layer Diffusion paper and the repository's inference path for layer_xl_transparent_attn.safetensors. Trace where this artifact is loaded and how it relates to the alpha-based encoder, then document its origin, training requirements, and whether it is needed for foreground-only inference.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.