Symbolic link not working for AmericasNLP baseline
See original GitHub issueDescribe the bug I have been trying to test the baseline for the AmericasNLP2022 competition, and have been following the steps at hugging_face.
However, the symbolic link in utils
seens to been broken, and this is causing it to not work in the run script.
Basic environments:
- OS information: [\ubuntu 18.04
- python version: 3.9
- espnet version: Followed the commit at huggingFace
To Reproduce Steps to reproduce the behavior:
git clone --recursive https://github.com/espnet/espnet.git
cd espnet
git checkout fc62b1ce3e50c5ef8a2ac8cedb0d92ac41df54ca
pip install -e .
cd egs2/americasnlp22/asr1
./run.sh --skip_data_prep false --skip_train true --download_model espnet/americasnlp22-asr-gn
Error logs
022-06-24T18:14:51 (asr.sh:252:main) ./asr.sh --lang tav --ngpu 1 --nbpe 100 --use_lm false --max_wav_duration 38 --speed_perturb_factors 0.9 1.0 1.1 --feats_normalize utterance_mvn --asr_config conf/train_asr_transformer.yaml --inference_config conf/decode_asr.yaml --inference_asr_model valid.cer_ctc.best.pth --inference_nj 1 --gpu_inference true --local_data_opts --lang tav --train_set train_tav --valid_set dev_tav --test_sets dev_tav --lm_train_text data/train_tav/text --bpe_train_text data/train_tav/text --skip_data_prep false --skip_train true --download_model espnet/americasnlp22-asr-gn ./asr.sh: line 255: utils/parse_options.sh: No such file or directory
Issue Analytics
- State:
- Created a year ago
- Comments:9 (6 by maintainers)
Top GitHub Comments
Thanks a lot! I think we collected enough information to fix this issue. @akreal, could I ask you to make a PR to fix https://github.com/espnet/espnet/blob/master/egs2/TEMPLATE/asr1/scripts/utils/TEMPLATE_HF_Readme.md#demo-how-to-use-in-espnet2 ?
Thanks! Quantize the model actually resulted in a error but setting the
inference_nj
to 1 solved the problem!