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

AdCnPipeline with inpainting #5

Open
HamnaAkram opened this issue Aug 25, 2023 · 2 comments
Open

AdCnPipeline with inpainting #5

HamnaAkram opened this issue Aug 25, 2023 · 2 comments

Comments

@HamnaAkram
Copy link

How to use the AdCnPipeline with inpainting?

I initialized the call as

pipe = AdCnPipeline.from_pretrained("stablediffusionapi/counterfeit-v30", torch_dtype=torch.float16, controlnet=controlnet)

but now how to activate inpainting?

@wly-ai-bj
Copy link

I met the same question. And how to load control image into pipeline? For example, we want to repair hand, we only need to load hand control image, not full body. So the hand control processer should be after the hand detector. But the hand detector can't edit.

@JemiloII
Copy link

You'll need to pass the hand detector as far as I know to detect the hands, by default it uses the face detector.

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

3 participants