-
Notifications
You must be signed in to change notification settings - Fork 1.4k
linux环境安装
hnluo edited this page Apr 18, 2023
·
9 revisions
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 #推荐python3.7
conda activate funasr
更多conda安装细节参考https://docs.conda.io/en/latest/miniconda.html
pip3 install torch torchvision torchaudio
更多cuda版本对应的pytorch安装命令,请参考 https://pytorch.org/get-started/locally
pip install -U modelscope -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple
git clone https://github.com/alibaba-damo-academy/FunASR.git && cd FunASR
pip install --editable ./