- 博客(3)
- 收藏
- 关注
原创 Attempted to set the storage of a tensor on device “cpu“ to a storage on different device “cuda:0“.
Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". 问题解决方案
2022-07-13 19:12:17
8143
11
原创 Pytorch在运行或者下载某些数据集时报错的解决方案:Failed to load image Python extension
最开始在正常能跑神经网络时也会有警告,我就没当回事,今天准备要下VGG数据集就只报错不能运行了。一开始在网上查是版本不匹配,下面是我的torch,torchvision版本,但那些匹配规则只更新到torch1.9.0---torchvision0.10.0。看了一些其他人的解决方案总结一下,给大家趟趟雷方案一:提示找不到.pyd文件,在提示的文件夹里把.py文件复制成.pyd文件————失败方案二:pip update --all 更新所有组件----------------------..
2022-03-05 16:15:19
3238
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅