wenet-e2e / wenet

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

jit export transducer #2544

Closed Yonnie1331 closed 1 month ago

Yonnie1331 commented 1 month ago

Describe the bug Error when wenet/bin/export_jit.py a trained Transducer

Additional context I think adding @torch.jit.unused before line 93 in wenet/transducer/transducer.py, def forward() will do good

Mddct commented 1 month ago

pr welcome

Yonnie1331 commented 1 month ago

created! a lot thanks