wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
4.14k stars 1.07k forks source link

我在使用tlg解码时候出现一下错误 #1812

Closed lzy473 closed 1 year ago

lzy473 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

lzy473 commented 1 year ago

image

iPwnXX commented 1 year ago

check exp/decoder/lm_with_runtime/split1/1.log to give a more detailed error description.

lzy473 commented 1 year ago

image

SevenTailCat commented 1 year ago

你看看那个cannot open的文件是否存在,line 10

lzy473 commented 1 year ago

image

pengzhendong commented 1 year ago

语言模型还需要指定词典的路径:https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/params.h#L94

yangyyt commented 1 year ago

语言模型还需要指定词典的路径:https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/params.h#L94

请问这种是什么情况呀,同样报core dumped, [aishell例子中tlg解码正常] ./tools/decode.sh: line 65: 226378 Aborted (core dumped) decoder_main --rescoring_weight $rescoring_weight --ctc_weight $ctc_weight --reverse_weight $reverse_weight --chunk_size $chunk_size --wav_scp ${dir}/split${nj}/wav.${n}.scp --model_path $model_file --unit_path $unit_file $wfst_decode_opts --result ${dir}/split${nj}/${n}.text &> ${dir}/split${nj}/${n}.log awk: cmd. line:1: fatal: division by zero attempted

image