d8ahazard / sd_dreambooth_extension

Other
1.85k stars 281 forks source link

ValueError: not enough values to unpack (expected 2, got 1) #1375

Closed IAmStoxe closed 8 months ago

IAmStoxe commented 9 months ago

Describe your changes

Fixes ValueError: not enough values to unpack (expected 2, got 1)

Fix missing values in prior loss variable assignments

The detailed description explains that the prior_loss variable was not assigned properly in certain conditions, resulting in missing values. This commit fixes the code to correctly assign the prior_loss variable when needed.

Issue ticket number and link (if applicable)

Checklist before requesting a review

d8ahazard commented 8 months ago

Thanks for the contribution!