From 6427c834dfd97b1f05c6659cdc7ccf010bf82fe1 Mon Sep 17 00:00:00 2001 From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com> Date: 星期一, 24 四月 2023 19:50:07 +0800 Subject: [PATCH] update --- docs_cn/installation.md | 21 ++++++++------------- 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/docs_cn/installation.md b/docs_cn/installation.md index 387d752..a31bc01 100755 --- a/docs_cn/installation.md +++ b/docs_cn/installation.md @@ -1,26 +1,20 @@ # 瀹夎 -FunASR鐨勫畨瑁呭崄鍒嗕究鎹凤紝涓嬮潰灏嗙粰鍑鸿缁嗙殑瀹夎姝ラ銆� - -- 涓嬭浇FunASR浠撳簱 -``` sh -git clone https://github.com/alibaba/FunASR.git -``` +FunASR鐨勫畨瑁呭崄鍒嗕究鎹凤紝涓嬮潰灏嗙粰鍑鸿缁嗙殑瀹夎姝ラ锛� - 瀹夎Conda骞跺垱寤鸿櫄鎷熺幆澧� ``` sh wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.sh +source ~/.bashrc conda create -n funasr python=3.7 conda activate funasr ``` - 瀹夎Pytorch (鐗堟湰 >= 1.7.0): -| cuda | | -|:-----:| --- | -| 9.2 | conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=9.2 -c pytorch | -| 10.2 | conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch | -| 11.1 | conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch | +```sh +pip install torch torchaudio +``` 鍏充簬鏇村鐨勭増鏈�, 璇峰弬鐓� [https://pytorch.org/get-started/locally](https://pytorch.org/get-started/locally) @@ -33,10 +27,11 @@ 瀹夎鎴栨洿鏂癕odelScope ``` sh -pip install "modelscope[audio]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html +pip install "modelscope[audio_asr]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html ``` -- 瀹夎鍓╀綑鎵�闇�渚濊禆 +- 涓嬭浇FunASR浠撳簱锛屽苟瀹夎鍓╀綑鎵�闇�渚濊禆 ``` sh +git clone https://github.com/alibaba/FunASR.git && cd FunASR pip install --editable ./ ``` \ No newline at end of file -- Gitblit v1.9.1