Bing-su / asdff

GNU Affero General Public License v3.0
50 stars 14 forks source link

AdCnPipeline with inpainting #5

Open HamnaAkram opened 1 year ago

HamnaAkram commented 1 year ago

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 commented 12 months ago

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 commented 10 months ago

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