【深度学习环境】conda快速下载torch,cuda,cudnn,mmcv

conda下载torch

pytorch=1.8.1 cudatoolkit=11.2 cudnn=8.2.1 mmcv=链接

pip install torch==1.8.1 torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host https://pypi.tuna.tsinghua.edu.cn

新版ubuntu要求使用https源,要注意。

清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学
https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/ 山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
原文链接:https://blog.csdn.net/dss875914213/article/details/86500146

下载cudatoolkit,cudnn

conda search cudatoolkit #查找版本
conda install cudatoolkit=11.2
conda install cudnn=8.2.1

安装mmcv要对应

官网https://codechina.csdn.net/mirrors/open-mmlab/mmcv/-/blob/master/README_zh-CN.md

pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu112/torch1.8.1/index.html

问题

git coco 出错
解决
https://blog.csdn.net/qq_36679208/article/details/105070957

解锁全部文件权限

sudo chown -R michael

公共的

你可能感兴趣的:(深度学习小白之路,pytorch,深度学习,python)