Files
Kohya-ss-sd-scripts/library
Cauldrath f8360a4831 Fix zero height buckets
If max_size is too large relative to max_reso, it will calculate a height of zero for some buckets.
This causes a crash later when it divides the width by the height.

This change also simplifies some math and consolidates the redundant "size" variable into "width".
2023-12-19 18:35:09 -05:00
..
2023-09-28 14:02:25 +03:00
2023-10-30 20:19:51 +08:00
2023-12-19 18:35:09 -05:00
2023-04-02 23:21:17 +09:00