kohya-ss / sd-scripts

Apache License 2.0
5.33k stars 881 forks source link

Support min/max timesteps in train_controlnet.py #1664

Open elthariel opened 1 month ago

elthariel commented 1 month ago

The --min_timesteps and --max_timesteps were ignored in train_controlnet.py

I wanted to use them to see if it was a lever to help improve color support via controlnet, as color is mostly controlled in early timesteps. The results were not satisfactory, but this might be useful to other people playing with this nice script