Closed abhinavkulkarni closed 4 years ago
Moreover, the binary fails on am_tds_s2s_librivox_dev_other
(everything else being the same):
I0620 21:46:52.741475 865 Decode.cpp:127] Number of classes (network): 9998
I0620 21:46:54.322589 865 Decode.cpp:134] Number of words: 200001
I0620 21:46:54.796387 865 Decode.cpp:247] [Decoder] LM constructed.
I0620 21:46:57.361129 865 Decode.cpp:274] [Decoder] Trie planted.
I0620 21:46:57.789614 865 Decode.cpp:286] [Decoder] Trie smeared.
I0620 21:46:58.397217 865 W2lListFilesDataset.cpp:141] 1 files found.
I0620 21:46:58.397238 865 Utils.cpp:102] Filtered 0/1 samples
I0620 21:46:58.397258 865 W2lListFilesDataset.cpp:62] Total batches (i.e. iters): 1
F0620 21:46:58.397612 877 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
F0620 21:46:58.397619 878 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUsF0F20 21:46:58.397660 6 879 20c0 21c] FL658.3970000:46:58.3Decod .cpp:42206208] ecode.cpp:422S_nthread_decoder exceeds the number of visible GPUs
21:46:58.397663 882 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
F0620 21:46:58.397619 878 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUsF0F20 21:46:58.397660 6 879 20c0 21c] FL658.3970000:46:58.3Decod .cpp:42206208] ecode.cpp:422S_nthread_decoder exceeds the number of visible GPUs
21:46:58.397663 882 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
F0620 21:46:58.397619 878 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUsF0F20 21:46:58.397660 6 879 20c0 21c] FL658.3970000:46:58.3Decod .cpp:42206208] ecode.cpp:422S_nthread_decoder exceeds the number of visible GPUs
21:46:58.397663 882 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
F0620 21:46:58.397619 878 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUsF0F20 21:46:58.397660 6 879 20c0 21c] FL658.3970000:46:58.3Decod .cpp:42206208] ecode.cpp:422S_nthread_decoder exceeds the number of visible GPUs
21:46:58.397663 882 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
F0620 21:46:58.397619 878 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUsF0F20 21:46:58.397660 6 879 20c0 21c] FL658.3970000:46:58.3Decod .cpp:42206208] ecode.cpp:422S_nthread_decoder exceeds the number of visible GPUs
21:46:58.397663 882 Decode.cpp:422] FLAGS_nthread_decoder exceeds the number of visible GPUs
*** Check failure stack trace: ***
Aborted (core dumped)
@abhinavkulkarni
For the am_tds_s2s_librivox_dev_other
as soon as it is a seq2seq model the AM forward happens at each decoder step, thus it happens on GPU. You need to set nthread_decoder
to the number of GPUs you have.
About decoding am_transformer_ctc_librivox_dev_other
:
beamsize=10
, beamsizetoken=10
and beamthreashold=10
just to make sure the audio will be decoded.Let me know results from above.
@abhinavkulkarni did you solve the issue of decoder hanging?
Hi,
I ran the 2019 SOTA model on two segments of same audio file (one 22 secs long and another 5mins) using
Decode
binary. The model seems to be hanging on the longer model (I have waited for more than 30mins). Is this a known behavior?The setup was exactly the same in both cases, the only thing that changed was the text file that has paths for the audio files, duration and (ground truth) transcriptions.
Here's the command (I downloaded individual pieces of the model in
sota
directory, so it's structure is different from that in the recipe):Here's what I have in the
sota
directory:Here's what I have in the
sota/test-other.lst
file:Thanks!