mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45: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
|
# Skip any validation dataset for regularization images
|
||||||
if self.is_training_dataset is False:
|
if self.is_training_dataset is False:
|
||||||
img_paths = []
|
img_paths = []
|
||||||
|
sizes = []
|
||||||
# Otherwise the img_paths remain as original img_paths and no split
|
# Otherwise the img_paths remain as original img_paths and no split
|
||||||
# required for training images dataset of regularization images
|
# required for training images dataset of regularization images
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user