Skip to content

Commit

Permalink
Fixed all models test, added initial metadata to scores for new models
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Dec 28, 2024
1 parent 3c8afda commit 6ae604f
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 6 deletions.
178 changes: 176 additions & 2 deletions audio_separator/models-scores.json
Original file line number Diff line number Diff line change
Expand Up @@ -4314,10 +4314,10 @@
}
},
"stems": [
"other",
"instrumental",
"vocals"
],
"target_stem": "other"
"target_stem": "instrumental"
},
"dereverb_mel_band_roformer_anvuew_sdr_19.1729.ckpt": {
"model_name": "Roformer Model: MelBand Roformer | De-Reverb by anvuew",
Expand Down Expand Up @@ -4643,5 +4643,179 @@
"bleed"
],
"target_stem": "instrumental"
},
"UVR-MDX-NET-Inst_HQ_5.onnx": {
"model_name": "MDX-Net Model: UVR-MDX-NET Inst HQ 5",
"track_scores": [
{
"track_name": "A Classic Education - NightOwl",
"scores": {
"vocals": {
"SDR": 6.06866,
"SIR": 17.1293,
"SAR": 6.12897,
"ISR": 10.8085
},
"instrumental": {
"SDR": 16.5979,
"SIR": 25.449,
"SAR": 20.1238,
"ISR": 18.5852
}
}
}
],
"median_scores": {
"vocals": {
"SDR": 6.06866,
"SIR": 17.1293,
"SAR": 6.12897,
"ISR": 10.8085
},
"instrumental": {
"SDR": 16.5979,
"SIR": 25.449,
"SAR": 20.1238,
"ISR": 18.5852
}
},
"stems": [
"instrumental",
"vocals"
],
"target_stem": "instrumental"
},
"melband_roformer_inst_v1.ckpt": {
"model_name": "Roformer Model: MelBand Roformer Kim | Inst V1 by Unwa",
"track_scores": [
{
"track_name": "A Classic Education - NightOwl",
"scores": {
"vocals": {
"SDR": 6.59313,
"SIR": 22.7019,
"SAR": 7.12521,
"ISR": 10.8986
},
"instrumental": {
"SDR": 16.7678,
"SIR": 25.4369,
"SAR": 20.2166,
"ISR": 19.245
}
}
}
],
"median_scores": {
"vocals": {
"SDR": 6.59313,
"SIR": 22.7019,
"SAR": 7.12521,
"ISR": 10.8986
},
"instrumental": {
"SDR": 16.7678,
"SIR": 25.4369,
"SAR": 20.2166,
"ISR": 19.245
}
},
"stems": [
"instrumental",
"vocals"
],
"target_stem": "instrumental"
},
"melband_roformer_inst_v2.ckpt": {
"model_name": "Roformer Model: MelBand Roformer Kim | Inst V2 by Unwa",
"track_scores": [
{
"track_name": "A Classic Education - NightOwl",
"scores": {
"vocals": {
"SDR": 7.02113,
"SIR": 22.8732,
"SAR": 7.34674,
"ISR": 11.4878
},
"instrumental": {
"SDR": 16.8635,
"SIR": 26.2265,
"SAR": 20.4975,
"ISR": 19.2417
}
}
}
],
"median_scores": {
"vocals": {
"SDR": 7.02113,
"SIR": 22.8732,
"SAR": 7.34674,
"ISR": 11.4878
},
"instrumental": {
"SDR": 16.8635,
"SIR": 26.2265,
"SAR": 20.4975,
"ISR": 19.2417
}
},
"stems": [
"instrumental",
"vocals"
],
"target_stem": "instrumental"
},
"melband_roformer_instvoc_duality_v1.ckpt": {
"model_name": "Roformer Model: MelBand Roformer Kim | InstVoc Duality V1 by Unwa",
"track_scores": [
{
"track_name": "A Classic Education - NightOwl",
"scores": {
"vocals": {
"SDR": 7.53732,
"SIR": 23.5485,
"SAR": 7.88449,
"ISR": 12.236
},
"instrumental": {
"SDR": 17.0929,
"SIR": 27.1492,
"SAR": 20.6733,
"ISR": 19.2657
}
}
}
],
"median_scores": {
"vocals": {
"SDR": 7.53732,
"SIR": 23.5485,
"SAR": 7.88449,
"ISR": 12.236
},
"instrumental": {
"SDR": 17.0929,
"SIR": 27.1492,
"SAR": 20.6733,
"ISR": 19.2657
}
},
"stems": [
"vocals",
"instrumental"
],
"target_stem": null
},
"melband_roformer_instvox_duality_v2.ckpt": {
"model_name": "Roformer Model: MelBand Roformer Kim | InstVoc Duality V2 by Unwa",
"track_scores": [],
"median_scores": {},
"stems": [
"vocals",
"instrumental"
],
"target_stem": null
}
}
8 changes: 4 additions & 4 deletions tests/model-metrics/test-all-models.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ def main():

# Save the combined results after model inspection
logger.info("Saving model stem information...")
os.makedirs(os.path.dirname(combined_results_path), exist_ok=True)
with open(combined_results_path, "w") as f:
os.makedirs(os.path.dirname(COMBINED_RESULTS_PATH), exist_ok=True)
with open(COMBINED_RESULTS_PATH, "w", encoding="utf-8") as f:
json.dump(combined_results, f, indent=2)

logger.info("Model stem information saved")
Expand Down Expand Up @@ -313,8 +313,8 @@ def main():
combined_results[test_model]["median_scores"] = median_scores

# Save results after each model
os.makedirs(os.path.dirname(combined_results_path), exist_ok=True)
with open(combined_results_path, "w") as f:
os.makedirs(os.path.dirname(COMBINED_RESULTS_PATH), exist_ok=True)
with open(COMBINED_RESULTS_PATH, "w", encoding="utf-8") as f:
json.dump(combined_results, f, indent=2)

if not track_already_evaluated:
Expand Down

0 comments on commit 6ae604f

Please sign in to comment.