lllyasviel / lllyasviel/ControlNet
Masked diffusion example
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
In the paper, there is the masked diffusion example (`Fig. 16`). I see that in the sampling functions the (eg. `ddim_sampling `function) mask image and the initial image (x0) are also input parameters but their default values are `None`. I couldn't make it work when I want to use a mask image and an initial image. Please provide an example script of masked diffusion usage. Specifically, how do we prepare the `x0` , `x_T `and `mask`?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the masked diffusion example in Fig. 16 and the sampling entry points mentioned in the issue, especially ddim_sampling. Trace how the mask, x0, and x_T are expected to be prepared and passed, then provide a runnable example script showing those inputs and the expected usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100