当前位置:网站首页>RuntimeError: Dataset not found or corrupted. You can use download=True to download it
RuntimeError: Dataset not found or corrupted. You can use download=True to download it
2022-06-09 06:14:00 【GodGump】
把相应数据集的调用里面加入参数download=True即可
比如我的错误代码:
train = CIFAR10(root='data', train=True, transform=Compose([ToTensor()]), download=True)
改写为这样既可
train = CIFAR10(root='data', train=True, transform=Compose([ToTensor()]), download=True)
边栏推荐
- C iterator
- 全志V3s学习记录--ESP8089的使用
- C generic constraint
- 全志平台BSP裁剪(2)附件一 General setup配置说明
- iTOP-IMX6Q开发板QT5.7系统Mplayer移植-交叉编译 Libmad-0.15.1b
- Comparison between the most cost-effective processor and domestic processor i.mx6ul/a40i/t3
- Solution of robot teaching pendant based on domestic Quanzhi a40i
- C # special syntax
- CountDownLatch
- Postman installation
猜你喜欢

全志平台BSP裁剪(2)附件一 General setup配置说明
Unity location service GPS API

Talk about bladed software

Bladed software display incomplete solution

srs-nodejs

两个Integer比较大小,为什么100等于100,1000不等于1000?

邂逅 NodeJS

TypeScrtipt 中的模块化

Itop-2k1000 development board startup ramdisk production startup USB flash disk

Too many open files
随机推荐
C# 事件
MT2712 SOC DMIPS
How to import the ebook downloaded from the computer into the mobile Kindle app
el-table设置高度,表头出现错位
Example of flow chart, sequence diagram and Gantt chart of typera
Le Conseil de développement ITop - 2k1000 démarre ramdisk - make Start USB
run LK in Qemu
Office software batch startup procedure
vs2013秘钥
邂逅 NodeJS
CountDownLatch
C# 反射
Competition between am335x and Quanzhi a40i
Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) C. Jon Snow and his Favou
Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) K - Send the Fool Further! (medi
Modularity in typescrtipt
Educational Codeforces Round 20 D. Magazine Ad
C# Lambda表达式
iTOP-IMX6Q开发板QT5.7系统Mplayer移植-交叉编译 Libmad-0.15.1b
SSC spread spectrum