# modelscope-audio **Repository Path**: ifredom/modelscope-audio ## Basic Information - **Project Name**: modelscope-audio - **Description**: modelscope-audio - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-18 - **Last Updated**: 2023-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # modelscope 使用 ## 环境 > windows python3.8 pytorch 安装 - 1.安装 [Anaconda](https://blog.csdn.net/win7583362/article/details/91174266) - 2.创建并激活环境 ```bash # 创建环境 conda create -n modelscope38 python=3.8 # 激活环境 conda activate modelscope38 ``` - 3.安装深度学习框架 ```bash # 1. 安装dl包,指定torch版本,使用国内清华源下载 pip3 install torch==1.11.0 torchvision torchaudio -i https://pypi.tuna.tsinghua.edu.cn/simple # 2. 安装 语音 领域模型 pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html ``` ## 查看conda虚拟环境中的包 在conda虚拟环境中,有两种方法安装第三方包: - conda install [packageName] - pip install [packageName] conda虚拟环境中,conda install 包名 和 pip install 包名 的区别在于: - conda install 包名 会安装包及其所有依赖项,而 pip install 包名 只安装指定的包。 - conda install 包名 安装在虚拟环境的 site-packages 目录下,而 pip install 包名 安装在当前环境的 site-packages 目录下。 - conda install 包名 可以在不同的虚拟环境中共享同一个包,而 pip install 包名 不会共享同一个包。