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

Does the Unet have inpainting ability? #55

Open
CharlesGong12 opened this issue Jul 12, 2024 · 3 comments
Open

Does the Unet have inpainting ability? #55

CharlesGong12 opened this issue Jul 12, 2024 · 3 comments

Comments

@CharlesGong12
Copy link

Hi, I am reading your excellent work and have a question. Is the unet you use a classical T2I unet or an inpainting unet?

@RunpuWei
Copy link

It seems to load the sd-base weights

@CharlesGong12
Copy link
Author

@RunpuWei Thanks a lot but actually I mean whether the unet branch has inpainting ability before being equipped with Brushnet branch.

@RunpuWei
Copy link

RunpuWei commented Jul 12, 2024

@RunpuWei Thanks a lot but actually I mean whether the unet branch has inpainting ability before being equipped with Brushnet branch.

I believe the sd-base model has the capability for inpainting (e.g., Repaint: https://github.com/huggingface/diffusers/blob/bbd2f9d4e9ae70b04fedf65903fd1fb035437db4/examples/community/stable_diffusion_repaint.py), although the results were relatively poor. Additionally, you can enhance it through any fine-tuning method, such as ControlNet, BrushNet, or adding 5 additional input channels (sd-inpaint model) like runwayml.

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