Learn practical skills, build real-world projects, and advance your career
!pip install jovian --upgrade --quiet

Getting the Data

import os
import torch
import torchvision
from torchvision.datasets.utils import download_url
import tarfile
dataset_url = 'https://s3.amazonaws.com/fast-ai-imageclas/cifar10.tgz'
download_url(url=dataset_url, root='.')
HBox(children=(FloatProgress(value=1.0, bar_style='info', max=1.0), HTML(value='')))
with tarfile.open('cifar10.tgz', mode='r:gz') as tar:
  tar.extractall(path = './data')