Remove duplicate assignment

This commit is contained in:
rockerBOO
2025-01-03 02:04:59 -05:00
parent 58bfa36d02
commit 6604b36044

View File

@@ -86,8 +86,6 @@ import library.sai_model_spec as sai_model_spec
import library.deepspeed_utils as deepspeed_utils
from library.utils import setup_logging, pil_resize
setup_logging()
import logging
@@ -1841,8 +1839,6 @@ class DreamBoothDataset(BaseDataset):
assert resolution is not None, f"resolution is required / resolution解像度指定は必須です"
self.validation_split = validation_split
self.validation_seed = validation_seed
self.batch_size = batch_size
self.size = min(self.width, self.height) # 短いほう
self.prior_loss_weight = prior_loss_weight