Closed jarumihooi closed 3 months ago
The bug is fixed in new evaluate.py from the asr_eval_update branch. The IndexError: list index out of range is caused by the factor that certain files in prep data for whisper base only contain error message but no annotation content. The cause of No matching file error is not sure but is fixed in the rewrite evaluate.py.
Bug Description
The exact cause of this issue is somewhat unknown. During familiarization of this subtask (asr_eval), the attempts to run this eval code did not return the expected number of files.
There seems to be missing error messages when files are skipped that would help account for some of the missing files. In other cases, there are still some missing.
Two
Reproduction steps
preds@whisper-wrapper-base@aapb-collaboration-21/
(or on the other preds also)Expected behavior
from clams_utils.aapb import goldretriever
to have consistent behavior to other evals such as fa_eval.Screenshots
This run has only 10 items out of 20. There are 20 items in the preds, and 20 in the golds.
Additional context
There are three errors to be found that would tally up the number of files:
It seems like one of the try/except clauses might be misaligned and not causing an error to be shown. Now there are 14 correctly outputted files, 2 list index errors, and 4 expected StopIteration errors.
This is the second error: Error from mmif: