Open dbarroso1 opened 6 years ago
ufeff is added to the string because of an encoding issue. I had the same problem. To get over it, I opened my metadata.csv (or transcript.csv, whatever you named it) in Sublime and then went "File"-> "Save with encoding"->"UTF-8" and it started working.
Its also giving me these error IOError: [Errno 2] No such file or directory: '/data/private/voice/LJSpeech-1.0/transcript.csv' and I have ensured the csv is in that directory and I have saved it in UTF-8
Where is 'transcript.csv' file? please share it or address it? I can not find it
I'm running the eda.py and got these errors. I have the wavfiles directory and the CSV files in the Audio classification master folder. The expected length of the audio files in displayed but only for a few files and the remaining files displays "nan". Please help me resolve this issue. Thanks in advance!
runfile('C:/Users/Misha Chandar/Desktop/Audio-Classification-master/eda.py', wdir='C:/Users/Misha Chandar/Desktop/Audio-Classification-master') Traceback (most recent call last):
File "
File "C:\Users\Misha Chandar\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile execfile(filename, namespace)
File "C:\Users\Misha Chandar\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Misha Chandar/Desktop/Audio-Classification-master/eda.py", line 69, in
File "C:\Users\Misha Chandar\Anaconda3\lib\site-packages\scipy\io\wavfile.py", line 264, in read fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'wavfiles/72002000A.wav'
@Mishachandar did you find the solution to this problem? I am working on the same project and the same error occurs now. If you know anything about how to solve it then please let me know. It's urgent.
@hacker1111 ever find the issue?
I'm trying to Run
Prepo.py
but I get this error. I do in fact have the .wav files in this directory and I have changed the Hyperparams to point into the correct folders. Am I getting something wrong here? should I add some argument to thepython prepo.py
NOTE: in this section of the error:
ufeff should not be there, it should just be SM001-001.wav, at some point its adding this to the path