zhifu gao
2023-03-02 94cb66dbb9ae12e044a41fb8a3d84e1835ee7e7b
funasr/export/export_model.py
@@ -11,8 +11,8 @@
import numpy as np
import random
torch_version = float(".".join(torch.__version__.split(".")[:2]))
assert torch_version > 1.9
# torch_version = float(".".join(torch.__version__.split(".")[:2]))
# assert torch_version > 1.9
class ASRModelExportParaformer:
    def __init__(self, cache_dir: Union[Path, str] = None, onnx: bool = True):