lllyasviel / ControlNet-v1-1-nightly

Nightly release of ControlNet 1.1
4.47k stars 364 forks source link

How to train semantic-segmentation-controlnet with my data #105

Open fangchuan opened 10 months ago

fangchuan commented 10 months ago

Hi, thanks for your awesome work! I am wondering how to train segmentation controlnet with my customed dataset. I noticed that the Predictor of OneFormer must use BGR image in pre-trained seg-controlnet, but how about the requirement for my segmentation image if I want to refine the pre-trained seg-contronet on my dataset? Do I need to format my segmentation result in BGR order? or RGB order in my Dataset class?

I am looking forward to your reply, appreciate it! @lllyasviel

PerlMonker303 commented 4 months ago

Have you found anything? Dealing with the same scenario and found this resource to be useful https://www.reddit.com/r/StableDiffusion/comments/11e4vxl/paint_by_color_numbers_with_controlnet/.