环境
windows 11家庭版, 64 位操作系统, 基于 x64 的处理器,显卡NVIDIA GeForce RTX 3060
按照本人写的操作步骤在cuda11.1下安装mmdet3d成功后,跑代码报如下错误:
RuntimeError: CUDA error: no kernel image is available for execution on the device
经查阅,可能是cuda版本问题,于是寻求其他版本的安装方式,摸索出成功步骤。
注意在这之前需要安装VS2017。
软件版本总结
cuda=11.3.1
cudnn=8.2.1
microsoft visual studio=2017 Professional
python=3.8.19
torch=1.10.0
torchvision=0.11.0
torchaudio==0.10.0
mmcv-full=1.4.0
mmdet=2.14.0
mmsegmentation=0.14.1
mmdet3d=0.17.1
setuptools=59.0.1
wheel=0.44.0
总计在3个地方分别安装了cuda
在conda安装cuda
参考博客《避坑看:最全Pytorch安装、CUDA安装》:https://blog.csdn.net/qq_44113911/article/details/137474925
查看conda可以选择的cuda版本,并选择和mmde

&spm=1001.2101.3001.5002&articleId=141226710&d=1&t=3&u=8cd8ff066563494bbf0c4a6fcd295aa2)
3422

被折叠的 条评论
为什么被折叠?



