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

Image Classification using Convolutional Neural Networks in PyTorch

# Uncomment and run the commands below if imports fail
# !conda install numpy pandas pytorch torchvision cpuonly -c pytorch -y
# !pip install matplotlib --upgrade --quiet
import os
import torch
import torchvision
import tarfile
from torchvision.datasets.utils import download_url
from torch.utils.data import random_split

Exploring the Data

# Dowload the dataset
# dataset_url = "http://files.fast.ai/data/cifar10.tgz"
# download_url(dataset_url, '.')