flashlight / wav2letter

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

Repetitive output in ASR Inference Tutorial #1007

Open Manni-Arora opened 2 years ago

Manni-Arora commented 2 years ago

Question

Repetitive output in ASR Inference Tutorial : I get repetitive outputs in ASR Inference tutorial. I assume these are the n best hypothesis. Is there a way to change this? image

Additional Context

I am using the following model:

inference_cmd = """./flashlight/build/bin/asr/fl_asr_tutorial_inference_ctc --am_path=am_transformer_ctc_stride3_letters_300Mparams.bin --tokens_path=tokens.txt --lexicon_path=lexicon.txt --lm_path=lm_common_crawl_small_4gram_prun0-6-15_200kvocab.bin --logtostderr=true --sample_rate=16000 --beam_size=50 --beam_size_token=30 --beam_threshold=100 --lm_weight=1.5 --word_score=0 --stderrthreshold=1 --colorlogtostderr=true --audio_list=listfiles.lst"""