ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

Broken training with the new polarity match guidance

Open WarAnakin opened this issue 1 year ago • 1 comments

The new noise polarity match changes for flowmatch are breaking the training.

Everything works decent until it reaches a certain step number, depending on the number of images in the dataset. Sometimes it's 1600, other times it's 2000. The image breaks as following image It tries to remediate in the next iteration and the ones after, but at this point it's pretty much done. image image

It's as if it breaks everything down to 0 and then it would try to re-do the training. For the meantime, i've reverted the lines of code responsible for causing this, to their prior functional state.

Here's a link to the code responsible for this https://github.com/ostris/ai-toolkit/commit/0355662e8e0e03938b2e275ece61a9806b526a18?diff=split&w=0#r145596747

WarAnakin avatar Aug 21 '24 10:08 WarAnakin

currently experimenting with some different changes, will have results in the next few hours

WarAnakin avatar Aug 21 '24 18:08 WarAnakin