We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b0ea3 commit a96c33dCopy full SHA for a96c33d
nemo/collections/tts/modules/magpietts_inference/evaluate_generated_audio.py
@@ -652,6 +652,9 @@ def compute_global_metrics(
652
else:
653
avg_metrics['cer_gt_audio_cumulative'] = float('NaN')
654
avg_metrics['wer_gt_audio_cumulative'] = float('NaN')
655
+ logging.warning(
656
+ "Ground truth audio files are missing. Setting cumulative CER and WER for ground truth audio to NaN."
657
+ )
658
659
avg_metrics['utmosv2_avg'] = sum(m['utmosv2'] for m in filewise_metrics) / n
660
avg_metrics['total_gen_audio_seconds'] = sum(m['total_gen_audio_seconds'] for m in filewise_metrics)
0 commit comments