Bing-su / asdff

GNU Affero General Public License v3.0
53 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 1 year 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 1 year 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.