Skip to content

Mushrum-mmb/ResNet-Implementation-Drafts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

103 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– ResNet Implementation Drafts

I made this for educational purposes, exploring ResNet architectures, custom training loops, and hands-on deep learning implementations of Image Classification.

AI Banner Python PyTorch ResNet

⭐ Star this repo if it helps you! ⭐

πŸ”₯ Share it with the community! πŸ”₯

Share on X Share on Facebook Share on LinkedIn Share on Reddit


πŸ“‹ Table of Contents

πŸš€ About

πŸ€– Cutting-edge AI image classification powered by ResNet-50!

Accuracy Model Framework Author
92.5% ResNet-50 Gradio Mushrum-mmb

🌟 Key Highlights:

  • State-of-the-art accuracy at 92.5%.
  • Real-time predictions with confidence scores
  • Web-based interface for easy access
  • Comment tutoring support in code
  • Cross-platform compatibility

πŸ“Έ Gallery

πŸ“Š Current Model Performance

*Note: This exceptional accuracy is calculated from validation datasets. Real-world performance may vary. *

Accuracy Badge Status

Confusion matrix

image

Tensorboard quick view and comparison

image image

Examples of successful animal image classification

image image image

✨ Features

What Makes This Special?

Feature Description Benefit
Image Classification Upload images for instant animal category prediction Quick and accurate results
Pre-trained Model ResNet-50 architecture fine-tuned on animal datasets Superior accuracy and reliability
Real-time Inference Instant predictions with confidence percentages Immediate feedback for users
GPU Acceleration Automatic GPU detection and utilization Lightning-fast processing
Easy Deployment One-command launch with public sharing option Hassle-free setup and sharing
Google Colab Ready Optimized for cloud-based training and testing Perfect for low-spec devices

🎯 Perfect For:

Students β€’ Researchers β€’ Developers


▢️ Local Usage

πŸš€ Launch Your AI in 4 Simple Steps!

Step 1: Clone the repository

git clone https://github.com/Mushrum-mmb/ResNet-Implementation-Drafts.git

Step 2: Navigate to project directory

cd ResNet-Implementation-Drafts

Step 3: Install the requirements

pip install -r requirements.txt

Step 4: Launch the application

python app.py

πŸŽ‰ Your AI is Ready! Open the provided link in your browser and start classifying images!

image

πŸ’» Google Colab Usage

☁️ Perfect for Potato Computers! πŸ₯”

Open In Colab

Can't run AI on your device? No problem! Use our optimized Google Colab notebook for seamless cloud-based AI training and inference.

πŸ“– Colab Guide (Click to expand)

Just execute the first and second cell image

Launch and enjoy! πŸŽ‰


πŸ”§ How It Works

Architecture Overview

Our AI system consists of five core components working in harmony:

graph TD
    A[Image Input] --> C[datasets.py]
    C --> D[train.py]
    D --> E[test.py]
    E --> F[app.py]
    F --> G[Gradio Interface]
Loading
Component Purpose Key Features
datasets.py Data Management β€’ Custom PyTorch dataset class
β€’ Image normalization and transforms
β€’ Train/test data splitting
train.py Model Training β€’ ResNet-50 architecture implementation
β€’ TensorBoard logging integration
β€’ Automatic checkpoint saving
test.py Model Testing β€’ Single image inference
β€’ Confidence score calculation
β€’ Visual result display
app.py Web Interface β€’ Gradio-powered UI
β€’ Real-time predictions
β€’ Public sharing capabilities

🀝 Contributing

πŸ’‘ Help Make This Project Even Better!

Contributors Welcome

We love contributions from the community! Here's how you can help:

  • Report bugs or suggest features
  • Submit pull requests with improvements
  • Improve documentation and tutorials
  • Share your results and use cases
  • Star the repo to show support!

πŸ“œ License

MIT License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is my first AI application that performs image classification using deep learning. Trained on my Kaggle datasets with the ResNet-50 model, it accurately predicts various animal categories. Users can upload images and receive predictions along with confidence scores.

Topics

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages