【Python学习】Datesets学习
2022/8/3 1:24:57
本文主要是介绍【Python学习】Datesets学习,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
官网文档链接:
https://pytorch.org/vision/stable/datasets.html
截图
数据集MNIST
train-images-idx3-ubyte:训练集图像
train-labels-idx1-ubyte:训练集标签
t10k-images-idx3-ubyte:测试集图像
t10k-labels-idx1-ubyte:测试集标签
- root:训练集图像和测试集图像数据集的根目录
- train:如果train=True那么数据集来自训练集,否则来自训练集
- download:如果download=True,那么从互联网上下载数据集并放到根目录,如果数据集已经下载了,那么就不再下载
- transform :一種函數/轉換,用於接收 PIL 圖像並返回轉換后的版本
这篇关于【Python学习】Datesets学习的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-30开始python成长之路
- 2024-03-29python optparse
- 2024-03-29python map 函数
- 2024-03-20invalid format specifier python
- 2024-03-18pool.map python
- 2024-03-18threads in python
- 2024-03-14python Ai 应用开发基础训练,字符串,字典,文件
- 2024-03-13id3 algorithm python
- 2024-03-13sum array elements python
- 2024-03-12python colon equals