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

file not found error #56

Closed byuns9334 closed 6 years ago

byuns9334 commented 6 years ago

Hi, I'm trying to inference on librivox test set with pre-trained model. I already downloaded librivox dataset and completed everything regarding data preprocessing. When I run luajit test.lua librispeech-glu-highdropout.bin -progress -show -test test-clean -save -datadir ~/librispeech-proc/ -dictdir ~/librispeech-proc/ -gfsai , I get the following error:

| number of classes (network) = 30 | reloading model nn.Sequential { [input -> (1) -> (2) -> (3) -> (4) -> (5) -> (6) -> (7) -> (8) -> (9) -> (10) -> (11) -> (12) -> (13) -> (14) -> (15) -> (16) -> (17) -> (18) -> (19) -> (20) -> (21) -> (22) -> (23) -> (24) -> (25) -> (26) -> (27) -> (28) -> (29) -> (30) -> (31) -> (32) -> (33) -> (34) -> (35) -> (36) -> (37) -> (38) -> (39) -> (40) -> (41) -> (42) -> (43) -> (44) -> (45) -> (46) -> (47) -> (48) -> (49) -> (50) -> (51) -> (52) -> (53) -> (54) -> (55) -> (56) -> (57) -> (58) -> (59) -> (60) -> (61) -> output] (1): nn.Copy (2): nn.Transpose (3): nn.View(40, 1, -1) (4): nn.WeightNorm @ cudnn.SpatialConvolution(40 -> 400, 13x1) (5): nn.GatedLinearUnit (6): nn.Dropout(0.200000) (7): nn.WeightNorm @ cudnn.SpatialConvolution(200 -> 440, 14x1) (8): nn.GatedLinearUnit (9): nn.Dropout(0.214000) (10): nn.WeightNorm @ cudnn.SpatialConvolution(220 -> 484, 15x1) (11): nn.GatedLinearUnit (12): nn.Dropout(0.228980) (13): nn.WeightNorm @ cudnn.SpatialConvolution(242 -> 532, 16x1) (14): nn.GatedLinearUnit (15): nn.Dropout(0.245009) (16): nn.WeightNorm @ cudnn.SpatialConvolution(266 -> 584, 17x1) (17): nn.GatedLinearUnit (18): nn.Dropout(0.262159) (19): nn.WeightNorm @ cudnn.SpatialConvolution(292 -> 642, 18x1) (20): nn.GatedLinearUnit (21): nn.Dropout(0.280510) (22): nn.WeightNorm @ cudnn.SpatialConvolution(321 -> 706, 19x1) (23): nn.GatedLinearUnit (24): nn.Dropout(0.300146) (25): nn.WeightNorm @ cudnn.SpatialConvolution(353 -> 776, 20x1) (26): nn.GatedLinearUnit (27): nn.Dropout(0.321156) (28): nn.WeightNorm @ cudnn.SpatialConvolution(388 -> 852, 21x1) (29): nn.GatedLinearUnit (30): nn.Dropout(0.343637) (31): nn.WeightNorm @ cudnn.SpatialConvolution(426 -> 936, 22x1) (32): nn.GatedLinearUnit (33): nn.Dropout(0.367692) (34): nn.WeightNorm @ cudnn.SpatialConvolution(468 -> 1028, 23x1) (35): nn.GatedLinearUnit (36): nn.Dropout(0.393430) (37): nn.WeightNorm @ cudnn.SpatialConvolution(514 -> 1130, 24x1) (38): nn.GatedLinearUnit (39): nn.Dropout(0.420970) (40): nn.WeightNorm @ cudnn.SpatialConvolution(565 -> 1242, 25x1) (41): nn.GatedLinearUnit (42): nn.Dropout(0.450438) (43): nn.WeightNorm @ cudnn.SpatialConvolution(621 -> 1366, 26x1) (44): nn.GatedLinearUnit (45): nn.Dropout(0.481969) (46): nn.WeightNorm @ cudnn.SpatialConvolution(683 -> 1502, 27x1) (47): nn.GatedLinearUnit (48): nn.Dropout(0.515707) (49): nn.WeightNorm @ cudnn.SpatialConvolution(751 -> 1652, 28x1) (50): nn.GatedLinearUnit (51): nn.Dropout(0.551806) (52): nn.WeightNorm @ cudnn.SpatialConvolution(826 -> 1816, 29x1) (53): nn.GatedLinearUnit (54): nn.Dropout(0.590433) (55): nn.WeightNorm @ cudnn.SpatialConvolution(908 -> 1816, 1x1) (56): nn.GatedLinearUnit (57): nn.Dropout(0.590433) (58): nn.WeightNorm @ cudnn.SpatialConvolution(908 -> 30, 1x1) (59): nn.View(30, -1) (60): nn.Transpose (61): nn.Copy } | dataset </home/byuns9334/librispeech-proc/test-clean>: | dataset </home/byuns9334/librispeech-proc/test-clean>: | dataset </home/byuns9334/librispeech-proc/test-clean>: | dataset </home/byuns9334/librispeech-proc/test-clean>: 2620 files found | dataset </home/byuns9334/librispeech-proc/test-clean>: 2620 files found 2620 files found 2620 files found | dataset </home/byuns9334/librispeech-proc/test-clean>: | dataset </home/byuns9334/librispeech-proc/test-clean>: | dataset </home/byuns9334/librispeech-proc/test-clean>: 0 files found luajit: ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 5 callback] ...nstall/share/lua/5.1/wav2letter/numberedfilesdataset.lua:71: no file found in </home/byuns9334/librispeech-proc/test-clean/?????????.flacsz> nor in </home/byuns9334/librispeech-proc/test-clean/00000/?????????.flacsz> stack traceback: [C]: in function 'assert' ...nstall/share/lua/5.1/wav2letter/numberedfilesdataset.lua:71: in function 'init' /home/byuns9334/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/byuns9334/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'closure' .../torch/install/share/lua/5.1/wav2letter/runtime/data.lua:319: in function 'mapconcat' .../torch/install/share/lua/5.1/wav2letter/runtime/data.lua:417: in function 'datasetwithfeatures' .../torch/install/share/lua/5.1/wav2letter/runtime/data.lua:476: in function 'closure' ...are/lua/5.1/torchnet/dataset/paralleldatasetiterator.lua:79: in function <...are/lua/5.1/torchnet/dataset/paralleldatasetiterator.lua:78> [C]: in function 'xpcall' ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback' .../byuns9334/torch/install/share/lua/5.1/threads/queue.lua:65: in function <.../byuns9334/torch/install/share/lua/5.1/threads/queue.lua:41> [C]: in function 'pcall' .../byuns9334/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob' [string " local Queue = require 'threads.queue'..."]:13: in main chunk stack traceback: [C]: in function 'error' ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob' ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize' ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:142: in function 'specific' ...yuns9334/torch/install/share/lua/5.1/threads/threads.lua:125: in function 'Threads' ...are/lua/5.1/torchnet/dataset/paralleldatasetiterator.lua:85: in function 'init' /home/byuns9334/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/byuns9334/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'newiterator' test.lua:152: in main chunk [C]: at 0x00405d50 0 files found 0 files found 0 files found

How can I fix this error?

vineelpratap commented 6 years ago

Hi, looks like you haven't run the preprocessing scripts. Please see #48 for details.