mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
onnx export
This commit is contained in:
parent
f98c4bf6d2
commit
6da6a7847f
@ -11,8 +11,8 @@ from funasr.export.models import get_model
|
||||
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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user