kohya-ss / sd-scripts

Apache License 2.0
5k stars 839 forks source link

--help says --bucket_reso_steps can be divisible by 8, but error message says it needs to be divisible by 32 #1140

Open ArgentVASIMR opened 7 months ago

ArgentVASIMR commented 7 months ago

--help: image

Error message: image

dill-shower commented 7 months ago

Sdxl can use only divisible by 32 or higher. Sd1.5 can use 8

ArgentVASIMR commented 7 months ago

Sdxl can use only divisible by 32 or higher. Sd1.5 can use 8

Thing is, I ran --help for sdxl_train_network.py and it said 8 there.

dill-shower commented 7 months ago

Sdxl can use only divisible by 32 or higher. Sd1.5 can use 8

Thing is, I ran --help for sdxl_train_network.py and it said 8 there.

https://github.com/kohya-ss/sd-scripts/blob/main/README.md#sdxl-training

--bucket_reso_steps can be set to 32 instead of the default value 64. Smaller values than 32 will not work for SDXL training.

kohya-ss commented 7 months ago

Sorry, the help messages are common to SD1/2 and SDXL currently. As dill-shower said, the size must be divisible by 32. I will fix the message sooner.

ArgentVASIMR commented 7 months ago

Understandable. Thank for the work you put into sd-scripts, we appreciate it!