Subscribe
Applied Deep LearningProject: Train a ResNet Vision Classifier with PyTorch
Capstone Project90 minutes

Project: Train a ResNet Vision Classifier with PyTorch

Lesson Summary: Build, train, and evaluate a residual convolutional network on a custom dataset, implementing custom data augmentations and learning rate scheduling.

Project Specifications & Requirements

Capstone Objective

In this project, you will develop a complete end-to-end computer vision pipeline using PyTorch.

Requirements

  1. Data Pipeline:
    • Implement random cropping, horizontal flips, and color jitter augmentations.
    • Use DataLoader with pinned memory and multi-worker prefetching.
  2. Model Architecture:
    • Construct a modular ResidualBlock class.
    • Chain 4 residual stages with projection shortcuts when spatial dimensions downsample.
  3. Training & Optimization:
    • Optimize using AdamW with cosine annealing learning rate scheduling.
    • Use torch.cuda.amp.autocast for FP16 mixed precision acceleration.
  4. Deliverables:
    • Submit your GitHub repository URL or Colab link containing the complete code and evaluation plots.
Project Submission

Submit Your Work

Max 100 Points

Make sure your repository is public so automated checks and peer reviewers can evaluate your code.

Evaluation Rubric

  • Proper PyTorch Dataset & DataLoader with Augmentations 25 pts
  • Correct Residual Block Implementation with Skip Connections 30 pts
  • Training Loop with Mixed-Precision (torch.cuda.amp) & Loss Logging 25 pts
  • Evaluation Report: Confusion Matrix & Top-1 / Top-5 Accuracy > 85% 20 pts