kneiff commited on
Commit
3996cb3
·
1 Parent(s): 0f34e10

ANIMA training is good now. CHROMA is still blurry

Browse files
configs/ANIMA.knf.yaml CHANGED
@@ -146,7 +146,7 @@ training:
146
  # repeats: 0
147
  # disabled: false
148
  head:
149
- probability: 1.5 # Sample head/face details at extra exposure.
150
  crop: false # Preserve detail framing; many samples are close crops.
151
  genitals:
152
  probability: 3 # Sample anatomy subset at normal probability.
@@ -245,7 +245,7 @@ training:
245
  hub_model_id: ladybird-anima-lora # Optional Hub model id if push_to_hub is enabled.
246
 
247
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
248
- learning_rate: 0.00007 # Conservative Anima LoRA starting point.
249
  lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
250
  lr_warmup_steps: 100
251
  seed: 42 # Training seed.
 
146
  # repeats: 0
147
  # disabled: false
148
  head:
149
+ probability: 2 # Sample head/face details at extra exposure.
150
  crop: false # Preserve detail framing; many samples are close crops.
151
  genitals:
152
  probability: 3 # Sample anatomy subset at normal probability.
 
245
  hub_model_id: ladybird-anima-lora # Optional Hub model id if push_to_hub is enabled.
246
 
247
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
248
+ learning_rate: 0.00006 # Conservative Anima LoRA starting point.
249
  lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
250
  lr_warmup_steps: 100
251
  seed: 42 # Training seed.
configs/CHROMA.knf.yaml CHANGED
@@ -145,7 +145,7 @@ training:
145
  # repeats: 0
146
  # disabled: false
147
  head:
148
- probability: 1.5 # Sample head/face details at extra exposure.
149
  crop: false # Preserve detail framing; many samples are close crops.
150
  genitals:
151
  probability: 3 # Sample anatomy subset at normal probability.
@@ -229,7 +229,7 @@ training:
229
  subset_warmup:
230
  enabled: true
231
  subsets: [genitals, fullbody]
232
- steps: 400 # !! First steps of the total run are ONLY listed subsets!
233
 
234
  # Full-run trainer config. trainer_testrun below overrides selected keys
235
  # only when knf lora sync/train is called with --testrun.
@@ -239,7 +239,7 @@ training:
239
  hub_model_id: ladybird-chroma-lora # Optional Hub model id if push_to_hub is enabled.
240
 
241
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
242
- learning_rate: 0.00005 # Conservative Chroma LoRA starting point.
243
  lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
244
  lr_warmup_steps: 100
245
  seed: 42 # Training seed.
@@ -250,7 +250,7 @@ training:
250
  train_batch_size: 2 # Per-device batch size.
251
  gradient_accumulation_steps: 1 # Effective batch multiplier.
252
  num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
253
- max_train_steps: 2000 # ANIMA-aligned Chroma character run with extended warmup.
254
  ignore_final_epochs: true # This fixes early stop due to weird epoch calculation by simpletuner
255
 
256
  caption_dropout_probability: 0.0 # Disable caption dropout; keep trigger behavior stable.
@@ -265,13 +265,13 @@ training:
265
  validation_prompt_library: false # Disable SimpleTuner built-in prompt library.
266
  validation_disable_unconditional: true # Skip unconditional validation branch.
267
  validation_resolution: 1024x1024 # Validation image size.
268
- validation_num_inference_steps: 32 # Full-run validation sampling steps.
269
  validation_guidance: 4.0 # CFG guidance used by validation.
270
  validation_guidance_real: 1.0 # Chroma/flow guidance-real default.
271
  validation_guidance_rescale: 0.0 # Guidance rescale; 0 disables rescale.
272
  validation_seed: 42 # Deterministic validation seed.
273
  num_eval_images: 1 # Images per validation prompt.
274
- validation_negative_prompt: "signature,worst quality, low quality, score_1, score_2, score_3, artist name" # Shared validation negative prompt.
275
 
276
  report_to: tensorboard # Write TensorBoard logs.
277
  logging_dir: logs # TensorBoard log dir relative to TRAINING/<config-id>_<run>.
 
145
  # repeats: 0
146
  # disabled: false
147
  head:
148
+ probability: 2 # Sample head/face details at extra exposure.
149
  crop: false # Preserve detail framing; many samples are close crops.
150
  genitals:
151
  probability: 3 # Sample anatomy subset at normal probability.
 
229
  subset_warmup:
230
  enabled: true
231
  subsets: [genitals, fullbody]
232
+ steps: 150 # !! First steps of the total run are ONLY listed subsets!
233
 
234
  # Full-run trainer config. trainer_testrun below overrides selected keys
235
  # only when knf lora sync/train is called with --testrun.
 
239
  hub_model_id: ladybird-chroma-lora # Optional Hub model id if push_to_hub is enabled.
240
 
241
  optimizer: adamw_bf16 # BF16 AdamW optimizer.
242
+ learning_rate: 0.00007 # Conservative Chroma LoRA starting point.
243
  lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
244
  lr_warmup_steps: 100
245
  seed: 42 # Training seed.
 
250
  train_batch_size: 2 # Per-device batch size.
251
  gradient_accumulation_steps: 1 # Effective batch multiplier.
252
  num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
253
+ max_train_steps: 1800 # ANIMA-aligned Chroma character run with extended warmup.
254
  ignore_final_epochs: true # This fixes early stop due to weird epoch calculation by simpletuner
255
 
256
  caption_dropout_probability: 0.0 # Disable caption dropout; keep trigger behavior stable.
 
265
  validation_prompt_library: false # Disable SimpleTuner built-in prompt library.
266
  validation_disable_unconditional: true # Skip unconditional validation branch.
267
  validation_resolution: 1024x1024 # Validation image size.
268
+ validation_num_inference_steps: 24 # Full-run validation sampling steps.
269
  validation_guidance: 4.0 # CFG guidance used by validation.
270
  validation_guidance_real: 1.0 # Chroma/flow guidance-real default.
271
  validation_guidance_rescale: 0.0 # Guidance rescale; 0 disables rescale.
272
  validation_seed: 42 # Deterministic validation seed.
273
  num_eval_images: 1 # Images per validation prompt.
274
+ validation_negative_prompt: "signature, worst quality, low quality, score_1, score_2, score_3, artist name" # Shared validation negative prompt.
275
 
276
  report_to: tensorboard # Write TensorBoard logs.
277
  logging_dir: logs # TensorBoard log dir relative to TRAINING/<config-id>_<run>.