Replies: 1 comment
-
Hi @Aeka0. To answer your question:
...there is now. I've just created a pull request for this feature, as I ran into this issue as well. Having used the feature I've written to fix up my underfilled buckets, my training quality (and resulting image quality) has greatly increased. My change adds debug output like this: Here's the branch you can grab here if you want the feature now: Or, if you don't know how to get pull request branches (or you're training a model that isn't Flux - I've only checked into the SD3 Flux branch, as that's all I've been using), just find this section of code around line 1050 in library/train_util.py:
and add this code snippet in the space in the middle (i.e. before the
and that should be it working. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to see the detailed results after Aspect Ratio Bucketing (ARB)?
The current trainer performs automatic ARB based on the training set resolutions, the target training resolution, and the number of repeats. However, it seems impossible to find out the exact bucketing results (I can only see how many images are in each bucket).
I'm currently optimizing the training process for a small dataset using a high batch size. I've noticed that many buckets end up with very few images. But since I can't determine which specific files are in these sparsely populated buckets, I'm unable to take further action.
Someone told me that these extremely unbalanced buckets can severely impact training performance. I'm hoping someone with similar experience might be able to provide some answers or guidance.
Beta Was this translation helpful? Give feedback.
All reactions