sail-sg / EditAnything

Edit anything in images powered by segment-anything, ControlNet, StableDiffusion, etc. (ACM MM)
Apache License 2.0
3.34k stars 193 forks source link

Colors for SAM mask based ControlNet during training #62

Open 1jsingh opened 1 year ago

1jsingh commented 1 year ago

Hi,

Thanks for the great repo. I was wondering how the label colors for the SAM mask based control model are decided. More specifically are the label colors decided based upon a closed vocabulary, or is it open vocabulary but with random colors?

Thanks!