HPI-DeepLearning / crnn-lid

Code for the paper Language Identification Using Deep Convolutional Recurrent Neural Networks
GNU General Public License v3.0
105 stars 48 forks source link

File name issue #16

Closed Varuzhan97 closed 4 years ago

Varuzhan97 commented 4 years ago

Hi. I am getting this error when I am trying to run prediction for a single mp3 file: Using TensorFlow backend. ('SpectrogramGenerator Exception: ', IOError(2, 'No such file or directory'), 'aaaa.mp3')

File is located in crnn-lid-master folder. Terminal command is: python keras/predict.py --model home/varuzhan/Desktop/crnn-lid-master/web-server/model/2017-01-31-14-29-14.CRNN_EN_DE_FR_ES_CN_RU.model --input aaaa.mp3

Thanks.

Bartzi commented 4 years ago

you should try to put your file into the keras folder, or provide an absolute path to the file :wink:

Varuzhan97 commented 4 years ago

I put file into keras. Again the same error. Before posting this error I have tried with absalute path and sll was the same.

Varuzhan97 commented 4 years ago

Or it gives "input is not a file"

Varuzhan97 commented 4 years ago

File is an mp3 file(downloaded from youtube).