openspeech icon indicating copy to clipboard operation
openspeech copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: '../../../LibriSpeech/sp.model'

Open tand22 opened this issue 3 years ago • 6 comments

❓ Questions & Help

Getting stuck at this point when trying to run training. Does my shell command look correct?

Details

Screen Shot 2022-02-28 at 11 02 17 am Screen Shot 2022-02-28 at 11 00 10 am

tand22 avatar Feb 28 '22 00:02 tand22

Can you attach the command?

sooftware avatar Feb 28 '22 09:02 sooftware

python ./openspeech_cli/hydra_train.py dataset=librispeech dataset.dataset_download=False dataset.dataset_path=/home/tand/Projects/openspeech/libri/LibriSpeech dataset.manifest_file_path=/home/tand/Projects/openspeech/libri/LibriSpeech/libri_subword_manifest.txt tokenizer=libri_subword model=rnn_transducer audio=fbank lr_scheduler=warmup_reduce_lr_on_plateau trainer=gpu criterion=cross_entropy

I had some issues downloading the dataset initially, so I manually copied across the contents into train-960 from the other folders.

tand22 avatar Feb 28 '22 09:02 tand22

Can you show me the head(5 examples) of the libri_subword_manifest.txt?

sooftware avatar Feb 28 '22 09:02 sooftware

Do it without specifying the dataset.manifest_file_path.

sooftware avatar Feb 28 '22 09:02 sooftware

Hmm I don't have a libri_subword_manifest.txt. Just tried without specifying the dataset.manifest_file_path and unfortunately it's still the same error.

tand22 avatar Feb 28 '22 09:02 tand22

Managed to solve the issue by moving the LibriSpeech directory up a level

tand22 avatar Feb 28 '22 11:02 tand22