From 547242106ba5f9b5eadac3a380e7bac35a61b98f Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 24 三月 2023 13:09:13 +0800
Subject: [PATCH] readme
---
funasr/runtime/python/libtorch/README.md | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/funasr/runtime/python/libtorch/README.md b/funasr/runtime/python/libtorch/README.md
index b14268f..d199fbe 100644
--- a/funasr/runtime/python/libtorch/README.md
+++ b/funasr/runtime/python/libtorch/README.md
@@ -1,4 +1,4 @@
-## Using paraformer with libtorch
+## Using funasr with libtorch
### Introduction
@@ -7,13 +7,6 @@
### Steps:
1. Export the model.
- Command: (`Tips`: torch >= 1.11.0 is required.)
-
- ```shell
- python -m funasr.export.export_model [model_name] [export_dir] false
- ```
- `model_name`: the model is to export.
-
- `export_dir`: the dir where the onnx is export.
More details ref to ([export docs](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export))
@@ -29,10 +22,7 @@
2. Install the `funasr_torch`.
```shell
- git clone https://github.com/alibaba/FunASR.git && cd FunASR
- cd funasr/runtime/python/libtorch
- python setup.py build
- python setup.py install
+ pip install funasr_torch -i https://pypi.Python.org/simple
```
--
Gitblit v1.9.1