feat: add reference audio comparison metrics to LoRA trainer eval

New _reference_metrics() computes LSD, MCD, and per-band correlation
between eval samples and the original source audio at each checkpoint.
Loads reference audio once before the training loop and logs metrics
alongside existing spectral metrics.

Also fix batch_size in lora_optimized_dataset.json (4 -> 16).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 15:04:07 +02:00
parent f745e241c4
commit 65dc549494
2 changed files with 92 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"rank": 128,
"lr": 3e-4,
"steps": 5000,
"batch_size": 4,
"batch_size": 16,
"warmup_steps": 100,
"save_every": 1000,
"seed": 42,