wenet icon indicating copy to clipboard operation
wenet copied to clipboard

The exported onnx model has some useless module

Open Ryuk17 opened this issue 3 years ago • 1 comments

Describe the bug 我使用如下的参数对非流式的conformer进行转换 image

得到的onnx模型中的r_cnn_cache并没有参与任何计算,说明这部分是没有用的 image

Ryuk17 avatar Jun 01 '22 07:06 Ryuk17

看了下代码,如果使用非流式的模型应该是不包含cache部分,但是模型转出来包括att_cache和图中的cnn_cache

Ryuk17 avatar Jun 02 '22 09:06 Ryuk17

This issue has been automatically closed due to inactivity.

github-actions[bot] avatar Jan 25 '24 01:01 github-actions[bot]