espnet / espnet_model_zoo

ESPnet Model Zoo
Apache License 2.0
241 stars 39 forks source link

FileNotFoundError #73

Closed Superman-Valencia closed 1 year ago

Superman-Valencia commented 1 year ago

When I want to use the inference, something wrong related to pretrained model. How can I place the file".lock"? FileNotFoundError: [Errno 2] No such file or directory: 'D:\anaconda3\envs\style\lib\site-packages\espnet_model_zoo\79ec90b8bd3dbaba9b8d75d7f7e53392\asr_train_asr_conformer5_raw_bpe5000_frontend_confn_fft512_frontend_confhop_length256_scheduler_confwarmup_steps25000_batch_bins140000000_optim_conflr0.0015_initnone_sp_valid.acc.ave.zip.lock'

kamo-naoyuki commented 1 year ago

.lock is a lock file used by the system and it should be generated in the program.

The other problem exists in your envirnoment, e.g. if the parent directory doesn't exist, the same message is shown.

Superman-Valencia commented 1 year ago

.lock is a lock file used by the system and it should be generated in the program.

The other problem exists in your envirnoment, e.g. if the parent directory doesn't exist, the same message is shown.

But other models is ok. I was confused about it.

Superman-Valencia commented 1 year ago

.lock is a lock file used by the system and it should be generated in the program.

The other problem exists in your envirnoment, e.g. if the parent directory doesn't exist, the same message is shown.

Thank you very much. I have solved my problem. If you meet the same situation (some models are ok but others is not), you can try to remove the filename length limitation in Windows.

kamo-naoyuki commented 1 year ago

I got it. Thanks. I'll keep in mind.