Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when predict.lua #100

Open
byuns9334 opened this issue Jan 2, 2018 · 0 comments
Open

error when predict.lua #100

byuns9334 opened this issue Jan 2, 2018 · 0 comments

Comments

@byuns9334
Copy link

Hi, I am trying to execute predict.lua on some toy text and wav file of Librispeech.

the toy text (test.txt) is : HE HOPED THERE WOULD BE STEW FOR DINNER TURNIPS AND CARROTS AND BRUISED POTATOES AND FAT MUTTON PIECES TO BE LADLED OUT IN THICK PEPPERED FLOUR FATTENED SAUCE

and when I do th Predict.lua -modelPath libri_deepspeech.t7.1 -audioPath prepare_datasets/LibriSpeech/test/test-clean/1089/134686/test.wav -dictionaryPath prepare_datasets/LibriSpeech/test/test-clean/1089/134686/test.txt ,

I get this error: /home/byuns9334/torch/install/bin/luajit: ./Mapper.lua:59: attempt to concatenate a nil value
stack traceback:
./Mapper.lua:59: in function 'tokensToText'
Predict.lua:44: in main chunk
[C]: in function 'dofile'
...9334/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

how should I resolve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant