Giter VIP home page Giter VIP logo

jahnvisahni31 / handwritten-digits-classifier-with-pytorch Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 467 KB

This project implements a handwritten digits classifier using PyTorch. The goal is to accurately classify these images into their respective digit classes.

Home Page: https://colab.research.google.com/github/jahnvisahni31/Handwritten-Digits-Classifier-with-PyTorch/blob/main/handwritten_digits_using_pytorch.ipynb

License: MIT License

Jupyter Notebook 100.00%
ai data-science deep-learning handwritten-digit-recognition image-classification machine-learning mnist-dataset neural-networks python pytorch tutorial

handwritten-digits-classifier-with-pytorch's Introduction

Handwritten Digits Classifier with PyTorch

This project implements a handwritten digits classifier using PyTorch. The classifier is trained on the popular MNIST dataset, which consists of 28x28 grayscale images of digits (0-9). The goal is to accurately classify these images into their respective digit classes.

Table of Contents

  1. Installation
  2. Usage
  3. Project Structure
  4. Contributing
  5. License

Installation

To get started with this project, you need to install the required dependencies. The dependencies are listed in the requirements.txt file.

  1. Clone the repository:

    git clone https://github.com/jahnvisahni31/Handwritten-Digits-Classifier-with-PyTorch.git
    cd Handwritten-Digits-Classifier-with-PyTorch
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt

Usage

The main code for training and evaluating the model is contained in a Jupyter Notebook file (.ipynb). To run the notebook:

  1. Start Jupyter Notebook:

    jupyter notebook
  2. Open the Handwritten-Digits-Classifier.ipynb file in the Jupyter interface.

  3. Run the cells in the notebook sequentially to train the model and evaluate its performance. The notebook includes code for loading the dataset, defining the model, training, and testing.

Project Structure

The repository contains the following files:

  • requirements.txt: Lists the Python packages required to run the project.
  • Handwritten-Digits-Classifier.ipynb: Jupyter Notebook containing the code for the handwritten digits classifier.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or submit a pull request.

To contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-branch
  3. Make your changes.
  4. Commit your changes:
    git commit -m "Description of changes"
  5. Push to the branch:
    git push origin feature-branch
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

handwritten-digits-classifier-with-pytorch's People

Contributors

jahnvisahni31 avatar

Watchers

 avatar

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.