espnet: Stage 1 error in egs/ljspeech/asr1
Describe the bug Hi, I am trying to run the LJspeech ASR example, but I get the following error:
stage 1: Feature Generation
steps/make_fbank_pitch.sh --cmd run.pl --nj 8 --write_utt2num_frames true data/char_eval exp/make_fbank/char_eval fbank
steps/make_fbank_pitch.sh: no such file data/char_eval/wav.scp
Basic environments:
- OS information: OS information: Linux 4.15.0-101-generic #102~16.04.1-Ubuntu SMP Mon May 11 11:38:16 UTC 2020 x86_64
- python version: Python 3.7.9 (default, Aug 18 2020, 06:24:24) [GCC 5.4.0 20160609]
- espnet version: 0.9.6
- Git hash [e.g. b88e89fc7246fed4c2842b55baba884fe1b4ecc2]
- Commit date [e.g. Tue Sep 1 09:32:54 2020 -0400]
- pytorch version pytorch 1.4.0
Environments from torch.utils.collect_env:
Collecting environment information...
PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 16.04.7 LTS
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
CMake version: version 3.5.1
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.1.243
GPU models and configuration: GPU 0: Tesla P4
Nvidia driver version: 455.23.05
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.4
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.3
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.3
Versions of relevant libraries:
[pip3] numpy==1.19.5
[pip3] pytorch-ranger==0.1.1
[pip3] pytorch-wpe==0.0.0
[pip3] torch==1.4.0
[pip3] torch-complex==0.2.0
[pip3] torch-optimizer==0.1.0
[pip3] torchaudio==0.4.0
[pip3] warpctc-pytorch==0.2.1
[conda] Could not collect
Task information:
- Task: ASR
- Recipe: LJspeech
- ESPnet1
To Reproduce Steps to reproduce the behavior:
- move to a recipe directory, e.g.,
cd egs/ljspeech/asr1 - execute
./run.sh - specify the error log, e.g.,
exp/xxx/yyy.log
Error logs No logs created…
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 26 (12 by maintainers)
Commits related to this issue
- fixed #2865 — committed to espnet/espnet by kan-bayashi 3 years ago
- Merge pull request #2884 from espnet/kan-bayashi-patch-1 fix egs/ljspeech/asr1 #2865 — committed to espnet/espnet by mergify[bot] 3 years ago
- fixed #2865 — committed to qmeeus/espnet by kan-bayashi 3 years ago
I have a similar bug,can you help me?
local/timit_data_prep.sh: TIMIT data preparation succeeded steps/make_mfcc.sh --cmd run.pl --nj 8 data/train exp/make_mfcc/train mfcc steps/make_mfcc.sh: moving data/train/feats.scp to data/train/.backup fix_data_dir.sh: no utterances remained: not proceeding further. utils/validate_data_dir.sh: Error: in data/train, utterance-ids extracted from utt2spk and utt2dur file utils/validate_data_dir.sh: differ, partial diff is: — /tmp/kaldi.ljtb/utts 2021-10-25 09:36:31.713458090 +0800 +++ /tmp/kaldi.ljtb/utts.utt2dur 2021-10-25 09:36:31.845456523 +0800 @@ -1,4620 +1,5607 @@ -SP0001W00 -SP0001W01 -SP0001W02 … +SP0462W04-0000-0246 +SP0462W05-0000-0256 +SP0462W06-0000-0391 +SP0462W07-0000-0374 +SP0462W08-0013-0234 +SP0462W09-0000-0314 [Lengths are /tmp/kaldi.ljtb/utts=4620 versus /tmp/kaldi.ljtb/utts.utt2dur=5607]
Remember to comment out https://github.com/espnet/espnet/blob/a1a537ce2110f9c7ac472cddd48ccf7315f13838/egs/ljspeech/asr1/run.sh#L94-L95. The lines remove the data employed from dev/eval from the original train.