Skip to content

aaron-avram/ImageNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageNet

An implementation of a CNN in NumPy and PyTorch for image classification

Table of Contents

Plan

In this project I will build up the mathematical formulations of a Convolutional Neural Network (See the writeups folder) then use this theory to build a image classifier

Implementation

I discuss the mathematical details of my training and overall model design in my architecture write up. The main idea of this project was to get an understanding of Convolutional Neural Networks from the ground up, using NumPy to build the model from scratch. I also built a PyTorch version to familiarize myself with the framework, and saw similar performance on the CPU compared to my model. However, GPU acceleration increased training speed significantly.

Takeaways

I was quite proud of the results of my model, my CNN built only with NumPy had 98.3 accuracy on MNIST with pretty much no hyperparameter tuning. My PyTorch implementation was able to reach 98.8 accuracy, but mostly because I was able to train it for much longer due to GPU speed up.

About

An implementation of a CNN in NumPy and PyTorch for image classification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors