Learn practical skills, build real-world projects, and advance your career
!pip install jovian --upgrade --quiet
WARNING: You are using pip version 20.3.1; however, version 20.3.3 is available. You should consider upgrading via the '/opt/conda/bin/python3.7 -m pip install --upgrade pip' command.
# Let's start by importing all the required libraries
import os
import torch
import torchvision
import tarfile
import torch.nn as nn
import numpy as np
import torch.nn.functional as F
from torchvision.datasets.utils import download_url
from torchvision.datasets import ImageFolder
from torch.utils.data import DataLoader
import torchvision.transforms as tt
from torch.utils.data import random_split
from torchvision.utils import make_grid
import matplotlib.pyplot as plt
%matplotlib inline
# I have attached the dataset from my google drive where I had a collection of about 5000 colored handmade sign images.