1. 问题描述
因为要编译安装老版本的mmdet3d
(0.17.1),根据依赖要求,通过如下方式安装了PyTorch
:
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch
然后在编译安装mmdet3d
的时候,遇到如下报错:
The detected CUDA version (11.6) mismatches the version that was used to compile PyTorch (10.2).
系统的cuda是11.6版本(/usr/local/bin