Skip to content

First homework of the Artificial Neural Networks and Deep Learning course 2020/2021.

Notifications You must be signed in to change notification settings

savoiadiego/Image-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Image Classification

This was the first homework of the Artificial Neural Networks and Deep Learning course 2020/2021. All the details can be found on the Kaggle inClass Competition page.

Developed by Diego Savoia and Francesco Emanuele Stradi.

Open In Colab

The goal was to classify images depicting groups of people based on the number of masked people. More specifically, the solution discriminates between images depending on the following cases:

  • All the people in the image are wearing a mask
  • No person in the image is wearing a mask
  • Someone in the image is not wearing a mask

Thus, the classification is performed on 3 different classes. Being a classification problem, given an image, the goal is to predict the correct class label. The output is a csv file containing the predictions associated to each test image.

Implementation

The notebook is meant to be used in Google Colaboratory, loading the dataset from Drive as explained inside the notebook. After the data preparation part, there are five different models to train and use for predictions:

  • Custom model
  • Custom model variation
  • Transfer Learning using VGG-16
  • Transfer Learning using InceptionV3
  • Transfer Learning using ResNet

Every model can be trained on the given dataset, using 20% of the samples for validation. Then, the prediction can be computed on the samples in the test folder. After that, the csv file containing the predictions is exported inside the Drive directory.

About

First homework of the Artificial Neural Networks and Deep Learning course 2020/2021.

Topics

Resources

Stars

Watchers

Forks