Learn practical skills, build real-world projects, and advance your career

Expolring the data

import torch
import torchvision # conftaining utilities to work with image data.
from torchvision.datasets import MNIST
# Download the training data
dataset = MNIST(root = 'data/', download = 'True')
MNIST
torchvision.datasets.mnist.MNIST
len(dataset)
60000