mlcommons / inference

Reference implementations of MLPerf™ inference benchmarks
https://mlcommons.org/en/groups/inference
Apache License 2.0
1.14k stars 504 forks source link

Permission error in inference/speech_recognition/rnnt/ #1293

Open zakiraero opened 1 year ago

zakiraero commented 1 year ago

I am trying to run "MlPref /speech_recognition " in my CPU. But when I run the ./run.sh file from this link "https://github.com/mlcommons/inference/tree/r1.1/speech_recognition/rnnt" , it creates few .flack files but the permission for this file is read only. I change the permission and rerun that but it overwrite the existing permission. I am not sure how to solve this issue. Is there any advice or suggestion for me? Thank you.

022-11-28 15:09:00 (13.0 MB/s) - ‘/MlPref/inference/speech_recognition/rnnt/rnnt.pt’ saved [543976536/543976536]

0%| | 0/2943 [00:00<?, ?it/s] Downloading dev-clean.tar.gz: File exists, skipping download. Verifing dev-clean.tar.gz: Checksum correct for dev-clean.tar.gz Decompressing /MlPref/inference/speech_recognition/rnnt/local_data/LibriSpeech/dev-clean.tar.gz: Traceback (most recent call last): File "pytorch/utils/download_librispeech.py", line 74, in extract(fpath=fpath, dest_folder=args.e) File "/MlPref/inference/speech_recognition/rnnt/pytorch/utils/download_utils.py", line 69, in extract tar.extract(path=dest_folder, member=member) File "/home/anaconda3/envs/mlperf-rnnt/lib/python3.6/tarfile.py", line 2053, in extract numeric_owner=numeric_owner) File "/home/anaconda3/envs/mlperf-rnnt/lib/python3.6/tarfile.py", line 2123, in _extract_member self.makefile(tarinfo, targetpath) File "/home/anaconda3/envs/mlperf-rnnt/lib/python3.6/tarfile.py", line 2164, in makefile with bltn_open(targetpath, "wb") as target: PermissionError: [Errno 13] Permission denied: '/MlPref/inference/speech_recognition/rnnt/local_data/LibriSpeech/dev-clean/2277/149896/2277-149896-0026.flac'

nv-ananjappa commented 1 year ago

@pgmpablo157321 Could you check?

arjunsuresh commented 1 year ago

Actually we are using the reference script in CM workflow itself and they work fine.

psyhtest commented 1 year ago

MlPref -> MLPerf?

On Sat, 28 Jan 2023, 19:40 Arjun Suresh, @.***> wrote:

Actually we are using the reference script in CM workflow https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-preprocessed-dataset-librispeech itself and they work fine.

— Reply to this email directly, view it on GitHub https://github.com/mlcommons/inference/issues/1293#issuecomment-1407471468, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSKZOSZJPPNRQPQPEAORQ3WUVY3DANCNFSM6AAAAAASQ3TRGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>