**1.**首先conda卸载本次安装的cuda的pytorch版本,然后用pip进行安装,因为conda安装可能会导致的是cuda的版本不对应
**2.**然后可能还会报错AttributeError: module ‘torch‘ has no attribute ‘_six‘------重启后问题解决,这个时候重启内核就行了
解决:torch\lib\caffe2_nvrtc.dll“ or one of its dependencies
最新推荐文章于 2024-05-23 21:31:03 发布