For the installation of data2vec-aqc I have run the following set of commands:-
git clone https://github.com/Speech-Lab-IITM/data2vec-aqc
cd data2vec-aqc
pip install --editable ./
After this I was trying to infer my custom dataset using data2vec-aqc model so I ran the following bash command:-
test_set_path= /data0/Senior-Engineer-audio/ASR/Fairseqv0.12.2/Datasets_tsv_files/Orpheus-PT
tsv_file_name= test
checkpoint_path= /data0/Senior-Engineer-audio/ASR/Data2vec_aqc/SPRING_INX_data2vec_aqc_Hindi.pt
result_dir_path= /data0/Senior-Engineer-audio/ASR/Fairseqv0.12.2/Results/Orpheus-PT
python3 /data0/Senior-Engineer-audio/ASR/Data2vec_aqc/data2vec-aqc/examples/speech_recognition/new/infer.py /
--config-dir /data0/Senior-Engineer-audio/ASR/Data2vec_aqc/data2vec-aqc/examples/speech_recognition/new/conf
--config-name infer task=audio_finetuning task.data=${test_set_path} common.user_dir=/data0/Senior-Engineer-audio/ASR/Data2vec_aqc/data2vec-aqc/examples/data2vec
task.labels=ltr decoding.type=viterbi
decoding.results_path=${result_dir_path}
But I was encountering the following error:-
Traceback (most recent call last):
File "/data0/Senior-Engineer-audio/ASR/Data2vec_aqc/data2vec-aqc/examples/speech_recognition/new/infer.py", line 20, in <module>
from examples.speech_recognition.new.decoders.decoder_config import (
...<2 lines>...
)
ModuleNotFoundError: No module named 'examples'
So, I ran the following command python setup.py build develop as given here. But it was again showing the following error:-
fatal error: examples/operators/alignment_train_cpu.cpp: No such file or directory
compilation terminated.
error: command '/usr/bin/g++' failed with exit code 1
For the installation of data2vec-aqc I have run the following set of commands:-
git clone https://github.com/Speech-Lab-IITM/data2vec-aqccd data2vec-aqcpip install --editable ./After this I was trying to infer my custom dataset using data2vec-aqc model so I ran the following bash command:-
But I was encountering the following error:-
So, I ran the following command
python setup.py build developas given here. But it was again showing the following error:-