Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the specific difference between controlnet_inpainting and sd_inpainting? #35

Open
cb614611757 opened this issue Mar 19, 2023 · 1 comment

Comments

@cb614611757
Copy link

According to the effect of sd_inpaint, mask_image is used to control the area that needs to be regenerated, so the difficulty is actually the generation of mask image. From the input of controlnet_inpainting and the final effect, it requires an additional seg_map, and the seg_map image does not show its role in the final effect.

The top image is the effect of stable diffusion inpainting and the bottom image is the effect of controlnet_inpainting.

image

image

@haofanwang
Copy link
Owner

For this simple example, yes, they are almost the same, as the segmentation map doesn't provide strong guidance. But if you try to mask a person, and wanna generate a new person with specific pose, a control hint is needed. @cb614611757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants