pytorch安装
1
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
show_channel_urls: true
ssl_verify: false
conda config --add channels http://
conda config --set show_channel_urls yes
conda config --set ssl_verify false
检查.condart——删除default
2
conda clean -i
3
conda creat --name pytorch python==3.7.5
conda activate pytorch
4
conda installpytorch1.5.1 torchversion0.6.1 cudatookit=10.1
5
pip opencv-python pillow matplotlib scipy pandas scikit-learn==0.22 filterpy numba tqdm scikit-image imutils PyYAML tensorboard seaborn ipykernel xlrd xlwt -i hettp://mirrors.aliyun.com/pypi/simple