Supervised-Unsupervised Training on CIFAR-10 dataset

Using Autoencoders for feature extraction on CIFAR-10 dataset and passing the encoded features to image classifier network. Two types of architecture models have been trained.

  1. End to end model

    This model combines encoder module of autoencoder with image classifer by avoiding the decoder module of autoencoder. Thus, the generated code of encoder is passed to image classifier.

  2. Seperate-training model

In this model, the autoencoders are trained first and then the encoded data is fed to image classifier network.

Further, for the purpose of comparison, we have used simple convolutional neural network model where the CNN architecture is same as architecture used for image classifer network by the other models.

The report of this assignment can be downloaded at Report.pdf

How to use

To run end-to-end model , type

python3 endtoend.py


a. Confusion Matrix Heat Map
alt text


b. Random Image and its predicted Class
alt text

\

c. Model accuracy and Loss
alt-text-1
alt-text-2


To run seperate-training model , type

python3 seperate-classifier.py


a. Confusion Matrix Heat Map
alt text
b. Random Image and its predicted Class
alt text
c. Model accuracy and Loss
alt-text-1
alt-text-2
To run simplre-CNN model , type

python3 classic-conv.py


a. Confusion Matrix Heat Map
alt text
b. Random Image and its predicted Class
alt text
c. Model accuracy and Loss
alt-text-1
alt-text-2 \

Comparision of all three models

a. Scatter Plot alt text