NOOB config for v1_5
Browse files
configs/NOOB_BASE.knf.yaml
CHANGED
|
@@ -138,7 +138,7 @@ training:
|
|
| 138 |
# into the subset backend entry after the dataset defaults below.
|
| 139 |
subsets:
|
| 140 |
felkin_anchor:
|
| 141 |
-
probability: 0.
|
| 142 |
crop: false # Preserve full source composition.
|
| 143 |
# repeats: 0 # Optional per-subset repeat count.
|
| 144 |
# disabled: false # Optional per-subset on/off switch.
|
|
@@ -158,10 +158,10 @@ training:
|
|
| 158 |
# repeats: 0
|
| 159 |
# disabled: false
|
| 160 |
head:
|
| 161 |
-
probability:
|
| 162 |
crop: false # Preserve detail framing; many samples are close crops.
|
| 163 |
genitals:
|
| 164 |
-
probability:
|
| 165 |
crop: false # Preserve anatomy crop framing.
|
| 166 |
# repeats: 0
|
| 167 |
# disabled: false
|
|
@@ -242,7 +242,7 @@ training:
|
|
| 242 |
subset_warmup:
|
| 243 |
enabled: true
|
| 244 |
subsets: [fullbody, head]
|
| 245 |
-
steps:
|
| 246 |
|
| 247 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 248 |
# only when knf train prepare/start is called with --testrun.
|
|
@@ -252,7 +252,7 @@ training:
|
|
| 252 |
# hub_model_id: ladybird-noob-lora # Optional Hub model id if push_to_hub is enabled.
|
| 253 |
|
| 254 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 255 |
-
learning_rate: 0.
|
| 256 |
lr_scheduler: constant_with_warmup # Ramp up LR to avoid weird color biases.
|
| 257 |
lr_warmup_steps: 200
|
| 258 |
seed: 42 # Training seed.
|
|
@@ -263,9 +263,9 @@ training:
|
|
| 263 |
train_batch_size: 4 # Per-device batch size.
|
| 264 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 265 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 266 |
-
max_train_steps:
|
| 267 |
|
| 268 |
-
caption_dropout_probability: 0.
|
| 269 |
data_backend_sampling: uniform # Uniform dataloader sampling.
|
| 270 |
allow_dataset_oversubscription: true
|
| 271 |
|
|
|
|
| 138 |
# into the subset backend entry after the dataset defaults below.
|
| 139 |
subsets:
|
| 140 |
felkin_anchor:
|
| 141 |
+
probability: 0.01 # Sample anchor identity images at steady exposure.
|
| 142 |
crop: false # Preserve full source composition.
|
| 143 |
# repeats: 0 # Optional per-subset repeat count.
|
| 144 |
# disabled: false # Optional per-subset on/off switch.
|
|
|
|
| 158 |
# repeats: 0
|
| 159 |
# disabled: false
|
| 160 |
head:
|
| 161 |
+
probability: 3 # Sample head/face details at extra exposure.
|
| 162 |
crop: false # Preserve detail framing; many samples are close crops.
|
| 163 |
genitals:
|
| 164 |
+
probability: 3 # Sample anatomy subset at normal probability.
|
| 165 |
crop: false # Preserve anatomy crop framing.
|
| 166 |
# repeats: 0
|
| 167 |
# disabled: false
|
|
|
|
| 242 |
subset_warmup:
|
| 243 |
enabled: true
|
| 244 |
subsets: [fullbody, head]
|
| 245 |
+
steps: 1000 # !! First steps of the total run are ONLY listed subsets when enabled!
|
| 246 |
|
| 247 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 248 |
# only when knf train prepare/start is called with --testrun.
|
|
|
|
| 252 |
# hub_model_id: ladybird-noob-lora # Optional Hub model id if push_to_hub is enabled.
|
| 253 |
|
| 254 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 255 |
+
learning_rate: 0.00015 # SDXL LoRA learning rates fall between 1e-4 and 5e-4
|
| 256 |
lr_scheduler: constant_with_warmup # Ramp up LR to avoid weird color biases.
|
| 257 |
lr_warmup_steps: 200
|
| 258 |
seed: 42 # Training seed.
|
|
|
|
| 263 |
train_batch_size: 4 # Per-device batch size.
|
| 264 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 265 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 266 |
+
max_train_steps: 3500 # Current short SDXL run length.
|
| 267 |
|
| 268 |
+
caption_dropout_probability: 0.05 # Caption dropout for regularization.
|
| 269 |
data_backend_sampling: uniform # Uniform dataloader sampling.
|
| 270 |
allow_dataset_oversubscription: true
|
| 271 |
|