You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the whisper-flanigo model and I'm having some issues calculating WER.
Code
Traceback (most recent call last):
File "whisper_decode_video.py", line 166, in
scorer = WerScorer(
File "/root/whisper-flamingo/av_hubert/fairseq/fairseq/scoring/wer.py", line 37, in init
self.tokenizer = EvaluationTokenizer(
File "/root/whisper-flamingo/av_hubert/fairseq/fairseq/scoring/tokenizer.py", line 36, in init
from sacrebleu.tokenizers import TOKENIZERS
ImportError: cannot import name 'TOKENIZERS' from 'sacrebleu.tokenizers'
What have you tried?
What's your environment?
fairseq Version:1.0.0a0
sacrebleu:2.4.3
The text was updated successfully, but these errors were encountered:
❓ Questions and Help
Before asking:
What is your question?
I'm using the whisper-flanigo model and I'm having some issues calculating WER.
Code
Traceback (most recent call last):
File "whisper_decode_video.py", line 166, in
scorer = WerScorer(
File "/root/whisper-flamingo/av_hubert/fairseq/fairseq/scoring/wer.py", line 37, in init
self.tokenizer = EvaluationTokenizer(
File "/root/whisper-flamingo/av_hubert/fairseq/fairseq/scoring/tokenizer.py", line 36, in init
from sacrebleu.tokenizers import TOKENIZERS
ImportError: cannot import name 'TOKENIZERS' from 'sacrebleu.tokenizers'
What have you tried?
What's your environment?
The text was updated successfully, but these errors were encountered: