From 08384ef9ebf6d294a88d9ddad8033c6236cb5208 Mon Sep 17 00:00:00 2001 From: zhifu gao <zhifu.gzf@alibaba-inc.com> Date: 星期三, 08 二月 2023 19:52:18 +0800 Subject: [PATCH] Merge pull request #75 from alibaba-damo-academy/dev --- docs_cn/installation.md | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/docs_cn/installation.md b/docs_cn/installation.md new file mode 100755 index 0000000..fc74780 --- /dev/null +++ b/docs_cn/installation.md @@ -0,0 +1,36 @@ +# 瀹夎 +FunASR鐨勫畨瑁呭崄鍒嗕究鎹凤紝涓嬮潰灏嗙粰鍑鸿缁嗙殑瀹夎姝ラ锛� + +- 瀹夎Conda骞跺垱寤鸿櫄鎷熺幆澧� +``` sh +wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh +sh Miniconda3-latest-Linux-x86_64.sh +conda create -n funasr python=3.7 +conda activate funasr +``` + +- 瀹夎Pytorch (鐗堟湰 >= 1.7.0): + +```sh +pip install torch torchvision torchaudio +``` + +鍏充簬鏇村鐨勭増鏈�, 璇峰弬鐓� [https://pytorch.org/get-started/locally](https://pytorch.org/get-started/locally) + +- 瀹夎 ModelScope + +瀵逛簬鍥藉唴鐢ㄦ埛锛屽彲浠ラ�氳繃閰嶇疆涓嬭堪闀滃儚婧愭潵鍔犲揩涓嬭浇閫熷害 +```sh +pip config set global.index-url https://mirror.sjtu.edu.cn/pypi/web/simple +``` + +瀹夎鎴栨洿鏂癕odelScope +``` sh +pip install "modelscope[audio]" --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