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

SpectrogramGenerator Exception: [Errno 2] No such file or directory: #37

Open nursumusod opened 2 years ago

nursumusod commented 2 years ago

does anyone know where is wrong with this? i already tried setting the file_name to but still the problem persists.

err

.``

errr

Makabongwe-M commented 2 years ago

Hi @nursumusod it might be a problem with your input files. Are your input files at least 10 seconds long?

nursumusod commented 2 years ago

hi, the audio length based on the repo says 3 secs. how to check in the command line btw if it requires 10secs?

Makabongwe-M commented 2 years ago

Hi there, please see this [issue] (https://github.com/HPI-DeepLearning/crnn-lid/issues/12#issuecomment-458044375) . I had a similar issue when I trained on 10 second segments and tried to infer on shorter lengths. If you trained on 3 seconds, then you should be inferring on segments that are 3 seconds or greater. The length configuration happens during data preprocessing and then the necessary changes before you train.