TokenFlow icon indicating copy to clipboard operation
TokenFlow copied to clipboard

ControlNet Usage

Open jfischoff opened this issue 2 years ago • 2 comments

The documentation says

Similarly, if you want to use ControlNet or SDEedit, create a yaml config as in ``config/config_controlnet.yaml

Want should go in the config/config_controlnet.yaml. I tried to figure it out from looking at the code, but only saw the controlnet being used during preprocessing.

jfischoff avatar Sep 05 '23 02:09 jfischoff

I'm guessing this would be added in the future

Natotela avatar Sep 07 '23 09:09 Natotela

The documentation says

Similarly, if you want to use ControlNet or SDEedit, create a yaml config as in ``config/config_controlnet.yaml

Want should go in the config/config_controlnet.yaml. I tried to figure it out from looking at the code, but only saw the controlnet being used during preprocessing.

Pretty sure that the controlnet is used in preprocess.py, when inverting the images into the latent space so as to directly preserve structural constraints. You can look into how parameters might be added there through a config. I'm using this repo for a project of mine and will see about adding a pull request when I'm finished. Two years too late lol

EladWarshawsky avatar Mar 11 '25 19:03 EladWarshawsky