Learn practical skills, build real-world projects, and advance your career
import torch
import torchvision
from torchvision.datasets import MNIST
# Downloading the datasets
dataset = MNIST(root="C:\\Users\\shree\\Documents\\Cheeku\\dataset", download=True)
type(dataset)
torchvision.datasets.mnist.MNIST
len(dataset)
60000
test_dataset = MNIST(root="C:\\Users\\shree\\Documents\\Cheeku\\dataset",train=False)