Skip to content

pramodyasahan/PyTorchCIFAR10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PyTorchCIFAR10

This repository contains a Jupyter Notebook for classifying images from the CIFAR10 dataset using a convolutional neural network (CNN). The notebook is designed to be a comprehensive guide, covering everything from setting up your environment, data preprocessing, model creation, training, and evaluation.

Getting Started

To get started, clone this repository to your local machine or Google Colab environment.

git clone https://github.com/pramodyasahan/PyTorchCIFAR10.git

Dependencies

Before running the notebook, ensure you have the following dependencies installed:

  • torch
  • torchvision
  • tqdm
  • matplotlib

You can install these dependencies using pip:

pip install torch torchvision tqdm matplotlib

Quick Start

  1. Set Up Your Environment: Ensure that you are running the notebook in an environment where the dependencies listed above are installed. If you're using Google Colab, these dependencies are already available.

  2. Import Necessary Dependencies: The notebook starts by importing all the necessary libraries, including torch, torchvision, tqdm, and matplotlib.

  3. Device Configuration: Make sure to configure the device for training. The notebook is set up to use CUDA if available; otherwise, it falls back to CPU.

  4. Data Preprocessing: The notebook provides detailed steps for data preprocessing, including defining transforms for training and test data.

  5. Model Training and Evaluation: Follow the steps in the notebook to train and evaluate your CIFAR10 classifier.

Support

If you encounter any issues or have questions, please open an issue in this GitHub repository.


About

This project implements a Convolutional Neural Network (CNN) to classify images from the CIFAR-10 dataset. The CIFAR-10 dataset consists of 60,000 32x32 color images in 10 different classes, with 6,000 images per class. The model is trained to recognize these classes using deep learning techniques.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors