flashlight / wav2letter

Facebook AI Research's Automatic Speech Recognition Toolkit
https://github.com/facebookresearch/wav2letter/wiki
Other
6.39k stars 1.01k forks source link

Facing "attempt to index a nil value" during creating LibriSpeech training data #53

Closed IrishCoffee closed 6 years ago

IrishCoffee commented 6 years ago

I am creating the LibriSpeech training dataset.

I have already downloaded the required dataset, such as "dev-clean".... When I executed the command "luajit data/librispeech/create.lua LibriSpeech/ librispeech-proc", I encountered an error as follows.

| parsing SPEAKERS.TXT for gender... luajit: data/librispeech/create.lua:51: attempt to index a nil value stack traceback: data/librispeech/create.lua:51: in main chunk [C]: at 0x00405d50

Is there any ideas about this error? Thanks.

bolt163 commented 6 years ago

did you installed the libsndfile's dependency libraries e.g. flac?

vineelpratap commented 6 years ago

Looks like you haven't specified the input and output path for the command. Please see https://github.com/facebookresearch/wav2letter#data-pre-processing for reference.