Giter Club home page Giter Club logo

image-classification's Introduction

PyTorch Image Classification

This repository contains the implementation of two neural network architectures using PyTorch for classifying images in the CIFAR-10 dataset. The project includes a multi-layer perceptron (MLP) and a convolutional neural network (CNN), both trained to classify images into 10 different classes.

Introduction

Image classification is a fundamental task in computer vision, aiming to categorize images into predefined classes or labels. This project explores two popular neural network architectures, MLP and CNN, for classifying images in the CIFAR-10 dataset.

Dataset

The CIFAR-10 dataset consists of 60,000 32x32 color images in 10 classes, with 6,000 images per class. The classes include common objects such as airplanes, automobiles, birds, cats, and more.

Project Structure

  • mlp_classification.ipynb: Jupyter Notebook containing the implementation of the Multi-layer Perceptron for image classification.
  • cnn_classification.ipynb: Jupyter Notebook containing the implementation of the Convolutional Neural Network for image classification.

Usage

  1. Clone the repository:

git clone https://github.com/alireza-nasirian/image-classification.git

  1. Install the required dependencies

  2. Open and run the Jupyter Notebooks mlp_classification.ipynb and cnn_classification.ipynb to train and evaluate the MLP and CNN models, respectively.

Results

  • MLP Model:

    • Final Test Accuracy: 50% (minimum)
    • Final Train Accuracy: 60% (minimum)
  • CNN Model:

    • Final Test Accuracy: 70% (minimum)
    • Final Train Accuracy: 80% (minimum)

Contributing

Contributions to improve the project are welcome! Feel free to open issues or pull requests.

image-classification's People

Contributors

alireza-nasirian avatar

Watchers

 avatar

Forkers

seanhuber1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.