赞
踩
Anaconda3 python 3.9 pytorch 1.9/1.12
d2l-0.17.6-py3-none-any.whl安装失败
Anaconda3 配置
github 或gitcode下载d2l-en-v0.17.6.zip
pip install pytz
pip install albumentations opencv_python_headless
pip install wandb
pip install ruamel.yaml
pip install numba==0.56
pip install ogb pykeops ray einops
修改 setup.py和安装的版本一致
'jupyter==1.0.0',
'numpy==1.21.5',
'matplotlib==3.5.1',
'requests==2.27.1',
'pandas==1.4.2'
管理员权限 运行Anaconda3
安装pytorch 、 mmcv
pytorch 1.9
cuda 11.1.1
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html
pip install mmdet==2.23.0
pip install mmsegmentation==0.29.1
pip install mmcls==0.23.2
pip install mmdet3d==0.18.1
pip install mmrotate==0.2.0
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.9.1+cu111.html
pip install torchdiffeq torch-geometric
python setup.py install
pytorch1.12
cuda 11.6.2
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 -f https://download.pytorch.org/whl/torch_stable.html pip install mmcv-full==1.7.1 -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.12.0/index.html pip install mmdet==2.28.2 pip install mmsegmentation==0.30.0 pip install mmcls==0.25.0 pip install mmdet3d==1.0.0rc6 pip install mmrotate==0.3.4 pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.12.1+cu116.html pip install torchdiffeq torch-geometric python setup.py install
jupyter notebook
运行时如果出现
Anaconda3\Library\bin\
site-packages\torch\
目录下都有 libiomp5md.dll,删除Anaconda3\Library\bin\目录下的
修改pytorch所在盘的虚拟内存大小
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。