维石
2024-06-03 c5339e8302da5ab66af7ca7640b93596de24a4b0
runtime/python/libtorch/funasr_torch/paraformer_bin.py
@@ -50,7 +50,7 @@
        if quantize:
            model_file = os.path.join(model_dir, "model_quant.torchscripts")
        if not os.path.exists(model_file):
            print(".onnx is not exist, begin to export onnx")
            print(".torchscripts does not exist, begin to export torchscripts")
            try:
                from funasr import AutoModel
            except: