Linaqruf / kohya-trainer

Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning
Apache License 2.0
1.83k stars 300 forks source link

Is it necessary to make a square aspect ratio from vertical images? #258

Open rickberto opened 1 year ago

rickberto commented 1 year ago

Hey, guys, I want to know, I have vertical images in my dataset with height 512 px, and different widths smaller than 512 px, like 512x340, 512x400 etc. Do I have to expand them 512x512 for better training or it doesn't make sense?

jndietz commented 1 year ago

No - just enable bucketing, the trainer will take care of the rest.