Creating a Custom ControlNet #412
-
Hi all I’m hoping to create a custom controlnet based on segmentation data from the Fashionpedia dataset - https://fashionpedia.github.io/home/Fashionpedia_download.html I think this could be incredibly powerful at helping to render people realistically as it could enable clothing elements from input images, or 3D render multipasses to be effectively isolated and rendered correctly rather than treated as a whole, where shirts merge with hands, or shoes merging with trousers etc. I’m using A1111 at the moment and have been experimenting with training hypernetworks and creating various scripts to automate processes which has been a lot of fun, but that’s where my advanced knowledge cuts off. I’m intending to move to ComfyUI next. I’ve read a few papers on how controlnet works, and seen a few posts about training controlnet, but I haven’t seen a decent step-by-step tutorial. As far as I can tell, training a controlnet through the A1111 or ComfyUI webUIs are not options...? Would anyone be willing to take me through this? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Any news on this? Been inpainting and creating loras left and right for clients, but have not yet found an easy way to bring clothing into gens. Would be curious if you found and easier way ? |
Beta Was this translation helpful? Give feedback.
-
I'm curious about this too. I haven't been able to find any guides that are more comprehensive than the documentation in this repo. https://github.com/lllyasviel/ControlNet/blob/main/docs/train.md I don't have the hardware to run the training, so I haven't tried it myself.Maybe you could give it a try and then ask a more specific question when you run into problems? |
Beta Was this translation helpful? Give feedback.
-
Hey so yeah I actually asked Pedro Cuenca himself on LinkedIn about helping out with this. He was very polite but unsurprisingly busy and redirected me here, which I’m sure you have already seen: https://github.com/huggingface/diffusers/tree/main/examples/controlnet what I think we need is a YouTube tutorial, or even better, a trainer actually built into A1111! Imagine the power of being able to just load in a bunch of segmentation pairs into a CN trainer just like using Hypernetworks or Embeddings. I think it’s worth pushing for this. So overall, I still don’t know the process. I’m not a coder or programmer at all so my knowledge reaches its limits pretty prematurely |
Beta Was this translation helpful? Give feedback.
-
I made a feature request |
Beta Was this translation helpful? Give feedback.
-
I wrote an extensive article about controlnet training here: https://civitai.com/articles/2078 |
Beta Was this translation helpful? Give feedback.
I made a feature request
AUTOMATIC1111/stable-diffusion-webui#11353 (comment)