question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symbolic link not working for AmericasNLP baseline

See original GitHub issue

Describe 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:

  1. git clone --recursive https://github.com/espnet/espnet.git
  2. cd espnet
  3. git checkout fc62b1ce3e50c5ef8a2ac8cedb0d92ac41df54ca
  4. pip install -e .
  5. cd egs2/americasnlp22/asr1
  6. ./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:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sw005320commented, Jun 27, 2022

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 ?

1reaction
danperazzocommented, Jun 26, 2022

Thanks! Quantize the model actually resulted in a error but setting the inference_nj to 1 solved the problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symbolic link does not work as expected in Windows 8.1 or ...
Fixes an issue in which you cannot access files or directories by using Universal Naming Convention (UNC) paths in Windows 8.1 or Windows...
Read more >
Sharing symbolic links in Rational Team Concert - Jazz.net
This article provides an overview of symbolic links and describes how you can share them in Jazz SCM in order to avoid duplicated...
Read more >
docs: Azure DevOps / ADO / Azure Pipelines Dagger example ...
/packages/ folder missing as linked by the docs, 1, 2022-09-05, 2022-10-21 ... Symbolic link not working for AmericasNLP baseline, 9, 2022-06-24, 2022-09-30.
Read more >
espnet - bytemeta
Segmentation Fault after running make command for espnet2 installation [Error 139]. v-yunbin ... Symbolic link not working for AmericasNLP baseline.
Read more >
symbolic link not working with chef recipe - Stack Overflow
The link resource is idempotent in nature, and shouldn't change if the link is already present. However, for some reason if you want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found