极链ai云使用RTX3090报错:RuntimeError: Could not run ‘torchvision::nms‘ with arguments from the ‘CUDA

使用极链ai云配置好的Pytorch框架跑Yolov5的时候,会出现RuntimeError: Could not run ‘torchvision::nms’ with arguments from the 'CUDA的错误。
极链ai云使用RTX3090报错:RuntimeError: Could not run ‘torchvision::nms‘ with arguments from the ‘CUDA_第1张图片
经过查询,是因为torch、torchvision和CUDA版本的问题,后来使用该文章中添加链接描述的配置解决了问题。(自己选用的是CUDA11.0,刚好是一致的!!)

# CUDA 11.0
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

你可能感兴趣的:(深度学习小问题,人工智能,深度学习,pytorch)