Skip to content

Image classification on CIFAR-10 dataset using two models. The first model is my own CNN(Convolutional neural network). The other model is built using Resnet-9 architecture.

Notifications You must be signed in to change notification settings

srinivaskool/CIFAR10-Image-Classification-CNN-and-ResNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CIFAR10-Image-Classification

Image classification on CIFAR-10 dataset using two models. First model is my own CNN(Convolutional neural network). The another model is built using Resnet-9 architecture.


Table of Contents


Description

Built With

  • PyTorch
  • Matplotlib

For Execution

The easiest way to start executing the code is to click the Run button at the top of this page and select Run on Colab. Google Colab is a free online platform for running Jupyter notebooks using Google's cloud infrastructure. You can also select "Run on Binder" or "Run on Kaggle" if you face issues running the notebook on Google Colab.

To run the code on your computer locally, you'll need to set up Python, download the notebook and install the required libraries. We recommend using the Conda distribution of Python. Click the Run button at the top of this page, select the Run Locally option, and follow the instructions.


Datasets and Project Colab Links


The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images.

The dataset is divided into five training batches and one test batch, each with 10000 images. The test batch contains exactly 1000 randomly-selected images from each class. The training batches contain the remaining images in random order, but some training batches may contain more images from one class than another. Between them, the training batches contain exactly 5000 images from each class.

CIFAR-10 Image Classification using own CNN

Open In Colab

CIFAR10 Image Classification using Resnet-9 Architecture

[Open In Colab


Results


CIFAR-10 Image Classification using own CNN


- Accuracy achieved is 76.03% .


CIFAR10 Image Classification using Resnet-9 Architecture


- Accuracy achieved is 92 % acuracy in just 4 min training.


Project Layout

CIFAR10-Image-Classification-CNN-and-ResNet
├─ Cifar-CNN
│  ├─ cifar10-cnn.pth
│  ├─ cifar10_cnn.ipynb
│  ├─ dataset.png
│  ├─ download (1).png
│  ├─ download (2).png
│  ├─ ep_res.PNG
│  └─ https_colab.docx
├─ cifar10-resnet9
│  ├─ Capture (1).PNG
│  ├─ Capture.PNG
│  ├─ cifar10-resnet9.pth
│  ├─ cifar10_ResNet9_architecture.ipynb
│  ├─ download (1).png
│  ├─ download (2).png
│  ├─ download.png
│  ├─ net.svg
│  ├─ RES.PNG
│  └─ Untitled document.docx
├─ README.md

References


Author Info

About

Image classification on CIFAR-10 dataset using two models. The first model is my own CNN(Convolutional neural network). The other model is built using Resnet-9 architecture.

Topics

Resources

Stars

Watchers

Forks