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

some errors when run python train.py #3

Closed Mitchell1314 closed 6 years ago

Mitchell1314 commented 6 years ago

Hi sir, I am trying to using your crnn-lid. Firstly I have download the audio by using ./download-data.sh and convert audio files to spectrograms by running "python wav_to_spectrogram.py" .Then I set all the desired properties and hyperparameters in the config.yaml file. After that, I go into the keras directory and run "python train.py". Unfortunately, I got something wrong as follows:

2018-01-05 16-56-13 Can you give me some help? Waiting for your reply. Thank you!

Bartzi commented 6 years ago

It seems that you did not specify a correct value for validation_data_dir in config.yaml or something with the generated validation.csv is wrong. Have you checked that?

Mitchell1314 commented 6 years ago

Here is my configure.yaml: 2018-01-05 17-07-50

Bartzi commented 6 years ago

validation_data_dir should be the path to a directory not to a file. So in your case it should be /home/winlab-crnn/crnn-lid/data/picture, this hold true for every path! SO you'll also have to change train_data_dir and test_data_dir.

The suffix dir is there to tell you that this configuration option should point to a directory.

Hope I could help! And sorry that it took me so long to answer. I did not see your response earlier...

Bartzi commented 6 years ago

closing this because it got stale

shiva33232 commented 5 years ago

same error occured as mentioned above unable to solve issue with your solution mentioned above

Varuzhan97 commented 4 years ago

@shiva33232 Hi. Have you solved this error?