Skip to content

lifast-dayoungovich/CNN-MNIST-Fashion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image CNN classifier trained on fashion-MNIST.

This is my first neural network. My goal was to create CNN, learn how works convolution neural networks, how batch normalization and dropout layers improve model results and learn Keras and Tensorflow frameworks. As train data, I chose the fashion-MNIST dataset and model reaches 92.53% accuracy on average. You can find further information about the dataset on Zalando Research and Kaggle

Training and evaluation

I split the training data on a train(75%) and validation(25%) samples. The test set of 10,000 images are used for final evaluation.

Model

I was trying to create a very simple architecture with less than 500,000 parameters. The model has 2 blocks of convolution, max polling, batch normalization and dropout layers. Last block connected to dense layers. This is the summary of the model:

Summary

This model can't reach accuracy more than 92% because it is difficult to distinguish between T-shirt/Top and Shirt classes. And as we can see in the confusion matrix, most mismatches model makes on these two classes.

Confusion matrix

Results

Scores for training: 0.1263 loss / 95.12% accuracy.
Scores for validation: 0.1834 loss / 94.24% accuracy.
Scores for test: 0.2657 loss / 92.53% accuracy.

If you are interested in further results, you can find them on Zalando benchmark.

References

[1] Fashion-MNIST
[2] Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms

About

Simple CNN trained on MNIST-fashion dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages