From 15c8d17825f0eaa77cdb5c9f0fe957e232b6ca42 Mon Sep 17 00:00:00 2001 From: gesen2egee <79357052+gesen2egee@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:15:03 +0800 Subject: [PATCH] Update config_util.py --- library/config_util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/config_util.py b/library/config_util.py index 7c5b80792..10a2ac9e2 100644 --- a/library/config_util.py +++ b/library/config_util.py @@ -80,7 +80,6 @@ class BaseSubsetParams: caption_tag_dropout_rate: float = 0.0 token_warmup_min: int = 1 token_warmup_step: float = 0 - sample_weight: bool = False @dataclass class DreamBoothSubsetParams(BaseSubsetParams): @@ -198,7 +197,6 @@ def __validate_and_convert_scalar_or_twodim(klass, value: Union[float, Sequence] "token_warmup_step": Any(float, int), "caption_prefix": str, "caption_suffix": str, - "sample_weight": bool, } # DO means DropOut DO_SUBSET_ASCENDABLE_SCHEMA = {