modelscope / FunASR

A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
https://www.funasr.com
Other
6.15k stars 657 forks source link

fix paramter 'quantize' unused issue #1813

Closed ZihanLiao closed 3 months ago

ZihanLiao commented 3 months ago

The parameter "quantize" is not used when starting the server. For example, if I set quantize=false, the runtime_sdk_download_tool.py will still search model_quantize.onnx. This PR is trying to refactor "--quantize" to each branch in the code.