计算"最大列车步长"错误。
作者: iqddd创建于 2024年11月16日更新于 2026年9月23日
When the number of epochs is set, but 'Max train epoch' and 'Max train steps' are both set to 0 (meaning no override), 'Max train steps' is then automatically calculated using the following formula: Number of images * Number of epochs / Batch size. But this formula doesn't take into account that when bucketing, some buckets will have a smaller batch_size (if the number of images in the bucket is not a multiple of batch_size).
内容来源: bmaltais/kohya_ss