Skip to content

Implemented CNN for CIFAR-10 image classification task using Pytorch, dimension reduction was done by PCA and t-SNE.

Notifications You must be signed in to change notification settings

leihao1/CNN-CIFAR-10-Image-Classification

Repository files navigation

CNN-CIFAR-10-Image-Classification

Simple CNN for CIFAR-10 image classification task using Pytorch

Dataset

CIFAR-10

CNN

PCA

Reduce to 50 components by scikit-learn PCA, plot first two components. pca

t-SNE

Further reduce to two dimension by t-SNE in sklearn. t-SNE

Result

92.8% accuracy after 30 epochs.

Run

  • Install Anaconda
  • Create a conda env that contain python 3.7.5: conda create -n your_env_name python=3.7.5
  • Activate the environment (do this every time you open a new terminal): conda activate your_env_name
  • Install the requirements into this conda env: pip install --user --requirement requirements.txt
  • Run the jupyter notebook: jupyter notebook

Reference

About

Implemented CNN for CIFAR-10 image classification task using Pytorch, dimension reduction was done by PCA and t-SNE.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published