You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the sizes are set as None but I'm not following how that is stretching the images. In further reading it picks up on the None and tries to get the image size later in the flow.
The validation split function shuffles and truncates the list of image paths but not the corresponding list of sizes. So when we access sizes[i] later we get a random image size from the dataset, which gets passed to the image transforms and causes the stretching
The validation split helper function does not adjust the image
sizes
list, so images get stretched due to being assigned the wrong size.sd-scripts/library/train_util.py
Line 1939 in 0778dd9
sd-scripts/library/train_util.py
Lines 1976 to 1998 in 0778dd9
@rockerBOO
The text was updated successfully, but these errors were encountered: