mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
v1.2.7
This commit is contained in:
parent
f5051c55cd
commit
4402e95b0f
10
export.py
10
export.py
@ -1,10 +0,0 @@
|
|||||||
# method2, inference from local path
|
|
||||||
from funasr import AutoModel
|
|
||||||
|
|
||||||
model = AutoModel(
|
|
||||||
model="iic/emotion2vec_base",
|
|
||||||
hub="ms"
|
|
||||||
)
|
|
||||||
|
|
||||||
res = model.export(type="onnx", quantize=False, opset_version=13, device='cpu') # fp32 onnx-gpu
|
|
||||||
# res = model.export(type="onnx_fp16", quantize=False, opset_version=13, device='cuda') # fp16 onnx-gpu
|
|
||||||
@ -1 +1 @@
|
|||||||
1.2.6
|
1.2.7
|
||||||
Loading…
Reference in New Issue
Block a user