crnn-lid icon indicating copy to clipboard operation
crnn-lid copied to clipboard

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

Open nursumusod opened this issue 3 years ago • 3 comments

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

err

.``

errr

nursumusod avatar Jun 05 '22 04:06 nursumusod

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

Makabongwe-M avatar Jun 14 '22 08:06 Makabongwe-M

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

nursumusod avatar Jun 22 '22 23:06 nursumusod

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.

Makabongwe-M avatar Jul 02 '22 06:07 Makabongwe-M