- pip install -r requirements.txt
- 将 .env.example 复制成 .env
- 配置.env
- python main.py {filename 文件名}
- 使用pycharm配置conda环境,python3.7
- pip3 install torch torchvision torchaudio -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install modelscope -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip3 install transformers -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip3 install opencv_python -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install --upgrade tensorflow==1.15 -i https://pypi.tuna.tsinghua.edu.cn/simple (分GPU tensorflow-gpu/CPU tensorflow)
- pip install protobuf==3.20 -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install python-dotenv -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install timm -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install kantts -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
- pip install librosa -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install "modelscope[audio]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://pypi.tuna.tsinghua.edu.cn/simple