infer.py raise StopIteration Exception
Created by: mohamedITworx
I got this error when i tried to run sh run_infer_golden.sh in tiny examples folder i even tried to make try and catch but it didn't work is there any other suggestion ?
----------- Configuration Arguments ----------- alpha: 2.5 beam_size: 500 beta: 0.3 cutoff_prob: 1.0 cutoff_top_n: 40 decoding_method: ctc_beam_search error_rate_type: wer infer_manifest: data/tiny/manifest.test-clean lang_model_path: models/lm/common_crawl_00.prune01111.trie.klm mean_std_path: models/librispeech/mean_std.npz model_path: models/librispeech/params.tar.gz num_conv_layers: 2 num_proc_bsearch: 8 num_rnn_layers: 3 num_samples: 1 rnn_layer_size: 2048 share_rnn_weights: 1 specgram_type: linear trainer_count: 1 use_gpu: 1 use_gru: 0 vocab_path: models/librispeech/vocab.txt
I0801 10:23:59.024675 27241 Util.cpp:166] commandline: --use_gpu=1 --rnn_use_batch=True --trainer_count=1 W0801 10:23:59.524929 27241 CpuId.h:112] PaddlePaddle wasn't compiled to use avx instructions, but these are available on your machine and could speed up CPU computations via CMAKE .. -DWITH_AVX=ON Traceback (most recent call last): File "infer.py", line 135, in main() File "infer.py", line 131, in main infer() File "infer.py", line 79, in infer infer_data = batch_reader().next() StopIteration Failed in inference!