Deep Learning ICP 6 - VineethaG/Python_CS5590 GitHub Wiki

Deep Learning ICP 6

Team ID: 12
Vineetha Gummadi, Class ID: 10

Objective:

  • To implement the MNIST dataset and clothes data set using Zalando Fashion MNIST dataset.
  • To change the different parameters and calculating the training and test accuracy of MNIST and fashion dataset.

Task 1: Test and train the model using fashion dataset:

Code Snippet:

Downloaded and loaded the data

Trained the model and tested the model

Below are the observations for certain parameters

Fashion dataset: Adam Optimizer
Layer 1 filter size: 32
Layer 2 filter size: 64
Final layer: 1028
test accuracy 0.9463

Task 2: Comparing the accuracy for different parameters and different optimizers for MNIST & Fashion dataset.

Below are the observations

Fashion dataset: Adam optimizer
Layer 1 filter size: 16
Layer 2 filter size: 36
Final layer: 128
test accuracy 0.8994
Fashion dataset: Gradient Descent optimizer
Layer 1 filter size: 32
Layer 2 filter size: 64
Final layer: 1028
test accuracy 0.4087
Fashion dataset: Gradient Descent optimizer 
Layer 1 filter size: 16
Layer 2 filter size: 36
Final layer: 128
test accuracy 0.2079
MNIST dataset: Adam Optimizer
Layer 1 filter size: 32
Layer 2 filter size: 64
Final layer: 1028
test accuracy 0.9342
MNIST dataset: Adam optimizer
Layer 1 filter size: 16
Layer 2 filter size: 36
Final layer: 128
test accuracy 0.908
MNIST dataset: Gradient Descent optimizer
Layer 1 filter size: 32
Layer 2 filter size: 64
Final layer: 1028
test accuracy 0.3755
MNIST dataset: Gradient Descent optimizer 
Layer 1 filter size: 16
Layer 2 filter size: 36
Final layer: 128
test accuracy 0.1146

Final Observations

Tensor Flow Gragh for Fashion dataset:

⚠️ **GitHub.com Fallback** ⚠️