0
点赞
收藏
分享

微信扫一扫

yolov5项目实战学习(1)

alanwhy 2022-04-03 阅读 58
python

问题描述:

NVIDIA GeForce RTX 3050 Laptop GPU with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.
If you want to use the NVIDIA GeForce RTX 3050 Laptop GPU GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

解决方案:

解决方法:

将python改为python3.8环境(当时查网上资料有个答主说的,我当时直接改成3.8了,没有验证3.7和3.6等是否可行)

安装nightly的pytorch,对应11.0的cuda版本

conda install pytorch torchvision cudatoolkit=11 -c pytorch-nightly

说白了,就是pytorch版本不对应,重新安装最新的即可。
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

举报

相关推荐

0 条评论