最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

MNIST dataset file structure - Stack Overflow

programmeradmin1浏览0评论

Can somebody please explain me the file structure of downloaded MNIST datase from Kaggle, via kagglehub as zip(23MB) file, when unzip I get these:

  1. folder: t10k-images-idx3-ubyte --> (inside the folder) --> t10k-images-idx3-ubyte
  2. folder: t10k-images-idx1-ubyte --> (inside the folder) --> t10k-images-idx3-ubyte
  3. folder: train-images-idx3-ubyte --> (inside the folder) --> train-images-idx3-ubyte
  4. folder: train-images-idx1-ubyte --> (inside the folder) --> train-images-idx1-ubyte
  5. file: t10k-images.idx3-ubyte
  6. file: t10k-labels.idx1-ubyte
  7. file: train-images.idx3-ubyte
  8. file: train-labels.idx1-ubyte

no gz extensions... ...I would like to know if it is right the following procedure for reading the sets locally using pytorch:

import torch
from torchvision import datasets, transforms

transform = transforms.Compose([transforms.ToTensor()])

mnist_pytorch = datasets.MNIST(root='../', train=True, download=False, transform=transform)

   

thanks a lot for your time

发布评论

评论列表(0)

  1. 暂无评论