Learn practical skills, build real-world projects, and advance your career
# Jovian Commit Essentials
# install latest version of jovian
# Now, jovian is a platform where you can save your various versions of your notebook and parameters to let you remember exactly when 
!pip install jovian --upgrade -q
import jovian
#jovian.utils.colab.set_colab_file_id('1AIUDr-KKt4PuM2HW6ICh5BAah5XOyd21')
jovian.utils.colab.set_colab_file_id('1BIUDr-KKt4PuK2HW6ICh5BAah5XOyd21')
# import all necessary libaries
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
import matplotlib.pyplot as plt
%matplotlib inline

matplotlib.rcParams['figure.facecolor'] = '#ffffff'
# name of the project
project_name='project-food-classification-resnet'

This machine learning project is a classification problem which can classify between 6 differnt types of common Nigerian dishes namely: pounded_yam, moimoi, akara_balls, amala_and_ewedu, fried_rice and jollof_rice. I actually aim to help tourists and foreigners navigate the country's dishes easily. The images are google images with 35 samples of each food.

5 of each class will be used for validation and the remaining for training.