遇到问题了呜呜呜
AssertionError: Torch not compiled with CUDA enabled
肝了两天都没有解决!求大家帮助!!!help!!!
查找了torch torchvision cuda python的版本对应关系
应该是兼容的啊,怎么会不兼容呢,想不通,不理解
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/d6b45381ccf17b1ca8dd7670f8d89604.png)
python 3.8.8
cuda 11.1.0
torch 1.7.0
torchvision 0.8.0
pycharm中跑码报错不兼容!
这是查找到的版本对应关系:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/2f93aad505bea34adac6192e2a9fb014.png)
求高人指点,非常非常感谢,感激不尽!