Traceback (most recent call last):
File "run_pseudo_labelling.py", line 1028, in
main()
File "run_pseudo_labelling.py", line 1011, in main
eval_step_with_save(split=split)
File "run_pseudo_labelling.py", line 941, in eval_step_with_save
wer_metric, pred_str, label_str, norm_pred_str, norm_label_str, eval_ids = compute_metrics(
File "run_pseudo_labelling.py", line 818, in compute_metrics
wer = 100 * metric.compute(predictions=norm_pred_str, references=norm_label_str)
File "/home/ubuntu/whisper/whisper/lib/python3.8/site-packages/evaluate/module.py", line 467, in compute
output = self._compute(inputs, compute_kwargs)
File "/home/ubuntu/.cache/huggingface/modules/evaluate_modules/metrics/evaluate-metric--wer/85bee9e4216a78bb09b2d0d500f6af5c23da58f9210e661add540f5df6630fcd/wer.py", line 106, in _compute
return incorrect / total
ZeroDivisionError: division by zero
Traceback (most recent call last): File "run_pseudo_labelling.py", line 1028, in
main()
File "run_pseudo_labelling.py", line 1011, in main
eval_step_with_save(split=split)
File "run_pseudo_labelling.py", line 941, in eval_step_with_save
wer_metric, pred_str, label_str, norm_pred_str, norm_label_str, eval_ids = compute_metrics(
File "run_pseudo_labelling.py", line 818, in compute_metrics
wer = 100 * metric.compute(predictions=norm_pred_str, references=norm_label_str)
File "/home/ubuntu/whisper/whisper/lib/python3.8/site-packages/evaluate/module.py", line 467, in compute
output = self._compute(inputs, compute_kwargs)
File "/home/ubuntu/.cache/huggingface/modules/evaluate_modules/metrics/evaluate-metric--wer/85bee9e4216a78bb09b2d0d500f6af5c23da58f9210e661add540f5df6630fcd/wer.py", line 106, in _compute
return incorrect / total
ZeroDivisionError: division by zero