kneiff commited on
Commit
05b58ed
·
1 Parent(s): 5c71000

improved Noob training

Browse files
Files changed (1) hide show
  1. configs/NOOB_BASE.knf.yaml +9 -9
configs/NOOB_BASE.knf.yaml CHANGED
@@ -138,12 +138,12 @@ training:
138
  # into the subset backend entry after the dataset defaults below.
139
  subsets:
140
  felkin_anchor:
141
- probability: 1 # 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.
145
  fullbody:
146
- probability: 8 # Sample full-body subset at high probability.
147
  crop: false # Preserve full-body composition.
148
  # repeats: 0
149
  # disabled: false
@@ -242,7 +242,7 @@ training:
242
  subset_warmup:
243
  enabled: true
244
  subsets: [fullbody, head]
245
- steps: 200 # !! 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.
@@ -254,7 +254,7 @@ training:
254
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
255
  learning_rate: 0.0002 # 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: 100
258
  seed: 42 # Training seed.
259
  gradient_checkpointing: true # Reduce VRAM by recomputing activations.
260
  # max_grad_norm: 1.0 # Optional gradient clipping.
@@ -263,7 +263,7 @@ 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: 2400 # Current short SDXL run length.
267
 
268
  caption_dropout_probability: 0.0 # Caption dropout for regularization.
269
  data_backend_sampling: uniform # Uniform dataloader sampling.
@@ -279,10 +279,10 @@ training:
279
  validation_disable_unconditional: true # Skip unconditional validation branch.
280
  validation_resolution: 1024x1024 # Validation image size.
281
  validation_num_inference_steps: 40 # Full-run validation sampling steps.
282
- validation_guidance_real: 5.0 # SDXL validation guidance.
283
- # validation_guidance: 5.0 # Alternative CFG field for some SimpleTuner versions.
284
- # validation_guidance_rescale: 0.0 # Guidance rescale; 0 disables rescale.
285
- # validation_seed: 42 # Deterministic validation seed.
286
  num_eval_images: 1 # Images per validation prompt.
287
  # validation_negative_prompt: "signature, ugly, cropped, blurry, low-quality"
288
 
 
138
  # into the subset backend entry after the dataset defaults below.
139
  subsets:
140
  felkin_anchor:
141
+ probability: 0.5 # 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.
145
  fullbody:
146
+ probability: 10 # Sample full-body subset at high probability.
147
  crop: false # Preserve full-body composition.
148
  # repeats: 0
149
  # disabled: false
 
242
  subset_warmup:
243
  enabled: true
244
  subsets: [fullbody, head]
245
+ steps: 500 # !! 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.
 
254
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
255
  learning_rate: 0.0002 # 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.
259
  gradient_checkpointing: true # Reduce VRAM by recomputing activations.
260
  # max_grad_norm: 1.0 # Optional gradient clipping.
 
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: 3000 # Current short SDXL run length.
267
 
268
  caption_dropout_probability: 0.0 # Caption dropout for regularization.
269
  data_backend_sampling: uniform # Uniform dataloader sampling.
 
279
  validation_disable_unconditional: true # Skip unconditional validation branch.
280
  validation_resolution: 1024x1024 # Validation image size.
281
  validation_num_inference_steps: 40 # Full-run validation sampling steps.
282
+ validation_guidance: 5.0 # SDXL CFG guidance used by validation.
283
+ validation_guidance_real: null # Remove flow-model real CFG from generated config.
284
+ validation_guidance_rescale: 0.0 # Guidance rescale; 0 disables rescale.
285
+ validation_seed: 42 # Deterministic validation seed.
286
  num_eval_images: 1 # Images per validation prompt.
287
  # validation_negative_prompt: "signature, ugly, cropped, blurry, low-quality"
288