|
|
@@ -1,15 +1,15 @@
|
|
|
|
|
|
-## environment
|
|
|
+## Environments
|
|
|
funasr 0.1.7
|
|
|
python 3.7
|
|
|
torch 1.11.0
|
|
|
modelscope 1.2.0
|
|
|
|
|
|
-## install modelscope and funasr
|
|
|
+## Install modelscope and funasr
|
|
|
|
|
|
The install is the same as [funasr](../../README.md)
|
|
|
|
|
|
-## export onnx format model
|
|
|
+## Export onnx format model
|
|
|
Export model from modelscope
|
|
|
```python
|
|
|
from funasr.export.export_model import ASRModelExportParaformer
|
|
|
@@ -29,7 +29,7 @@ export_model = ASRModelExportParaformer(cache_dir=output_dir, onnx=True)
|
|
|
export_model.export_from_local('/root/cache/export/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch')
|
|
|
```
|
|
|
|
|
|
-## export torchscripts format model
|
|
|
+## Export torchscripts format model
|
|
|
Export model from modelscope
|
|
|
```python
|
|
|
from funasr.export.export_model import ASRModelExportParaformer
|