This project implements an Advanced Convolutional Neural Network (CNN) for image classification using the CIFAR-10 dataset. The model features real-time loss and accuracy tracking with dynamic visualizations during training, making it an exciting way to see deep learning in action.
β
Advanced CNN Architecture with multiple convolutional layers
β
Live Training Progress Visualization for loss and accuracy
β
Simulated Feature Map Display for real-time input image visualization
β
Runs on Google Colab with GPU acceleration support
- Open Google Colab and upload the notebook or run the script in Python.
- Install dependencies (if needed):
!pip install torch torchvision matplotlib
- Train the model and watch live graphs updating dynamically!
During training, the following real-time graphs are displayed:
π Loss Graph (Shows how the model improves)
π Accuracy Graph (Tracks training performance)
πΌ Live Input Image (Displays real-time training images with class labels)
- 3 Convolutional Layers with ReLU activation
- Max Pooling Layers for downsampling
- Fully Connected Layers for classification
- Dropout Layer for regularization
- Adam Optimizer with CrossEntropy Loss
Achieved ~80% test accuracy on the CIFAR-10 dataset.
- On Google Colab: Upload the script or run the notebook cells sequentially.
- Locally: Ensure
torch,torchvision, andmatplotlibare installed, then execute the script.
Created by Paras Singh. Connect with me on LinkedIn! π