Gedeon-m-gedus / dog-cat-classifier

Classify dog and cats images using PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dog and cat images classifier

Steps to run the code

  1. Clone the code files
  • main.py
  • dataset.py
  • model.py
  1. Get the dog and cat Dataset from this link and remember to specify the dataset path in main.py code

  2. Run the main.py file

  3. I will first train a 2 layers CNN and later train a 4 layers CNN, it will print out the test accuracy in each case.

TensorBoard

Training losses

Main Graph

Projection (PCA)

About

Classify dog and cats images using PyTorch


Languages

Language:Jupyter Notebook 98.4%Language:Python 1.6%