mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
Clear sizes for validation reg images to be consistent
This commit is contained in:
@@ -1990,6 +1990,7 @@ class DreamBoothDataset(BaseDataset):
|
||||
# Skip any validation dataset for regularization images
|
||||
if self.is_training_dataset is False:
|
||||
img_paths = []
|
||||
sizes = []
|
||||
# Otherwise the img_paths remain as original img_paths and no split
|
||||
# required for training images dataset of regularization images
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user