Laufzeitfehler beim Lesen der WAV-DateiPython

Python-Programme
Guest
 Laufzeitfehler beim Lesen der WAV-Datei

Post by Guest »

Ich folge der https://github.com/mravanelli/SincNet-Bibliothek. Ich habe die Dokumentation wie empfohlen befolgt. aber ich habe den RuntimeError bekommen

Ich habe den Dateizugriff mit sudo chmod +x /home/sathiyakugan/Downloads/TIMIT/data/lisa/data/timit/raw/ geändert TIMIT, aber es hat das Problem nicht gelöst.

Dies ist die Syntax, die ich ausgeführt habe

Code: Select all

python3 TIMIT_preparation.py /home/sathiyakugan/Downloads/TIMIT/data/lisa/data/timit/raw/TIMIT /home/sathiyakugan/Documents/FYP/out data_lists/TIMIT_all.scp


und das ist der Fehler, den ich erhalten habe.

Code: Select all

  File "TIMIT_preparation.py", line 56, in 
[signal, fs] = sf.read(wav_file)
File "/home/sathiyakugan/.local/lib/python3.6/site-packages/soundfile.py", line 257, in read
subtype, endian, format, closefd) as f:
File "/home/sathiyakugan/.local/lib/python3.6/site-packages/soundfile.py", line 627, in __init__
self._file = self._open(file, mode_int, closefd)
File "/home/sathiyakugan/.local/lib/python3.6/site-packages/soundfile.py", line 1182, in _open
"Error opening {0!r}: ".format(self.name))
File "/home/sathiyakugan/.local/lib/python3.6/site-packages/soundfile.py", line 1355, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening '/home/sathiyakugan/Downloads/TIMIT/data/lisa/data/timit/raw/TIMIT/train/dr1/fvmh0/si1466.wav': System error.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post