Closed tushar-rishav closed 3 years ago
I met the same error. But I'm tried to use my own validation data and loaded Wav2Vec 2.0 Large (no finetuning).
@ValeryNikiforov Yes, it didn't work with wav2vec2 large (no fine-tuning) as well. I think none of the no finetuned models work with the latest codebase.
you cannot run inference on "no-finetuning" models. those have no concept of decoding into any sort of vocab since they were trained purely on audio data. you need to either finetune them yourself (on some dataset) or use one of the finetuned models for inference
you cannot run inference on "no-finetuning" models. those have no concept of decoding into any sort of vocab since they were trained purely on audio data. you need to either finetune them yourself (on some dataset) or use one of the finetuned models for inference
It doesn't work when I have finetune but not using language model ?
whenever I run the wave2vec2 model on my corpus which is code-mixed Bangla and English I was getting Key error 0. how can I solve that error?
🐛 Bug
I am running ASR inference with the latest commit of master (da83e2f3) and Wav2Vec 2.0 Base (no finetuning split) model available under the list of pre-trained models. I am seeing the following error:
To Reproduce
Run cmd
The manifest files
See error
Code sample
NA
Expected behavior
I am expecting to see the inference results.
Environment
pip
, source): sourcegit clone https://github.com/pytorch/fairseq && cd fairseq && pip3 install --editable ./
Additional context
Please note that
all.tsv
file format above is slightly different from the wav2vec2_manifest version. I had to make minor modifications tofairseq/data/audio/raw_audio_dataset.py
to support fine-tuning over multiple audio directories. Unlike valid subsets, I couldn't find a way to provide a comma separated list of training subsets while reading the doc (please let me know if there's a clean approach? :) ) I am reasonably sure the following change didn't introduce the bug because I am seeing the error after reverting the changes as well.