This project was carried out for the Leonardo Labs Kaggle Competition and was able to achieve the 2nd place with a private score of 0.98102. The goal was to classify images of ships according to their type (7 different classes).
The strategy chosen was to train different neural network architectures and then obtain a single prediction by majority voting. Other strategies that have been adopted include training an ensemble of neural networks after combining the outputs and the use of Visual Transformers.
In the original training set there are images out of context that must be removed, this process has already been done by us, in the following csv file only the files and the respective categories of images concerning ships are listed:
!gdown 1AobspqrM3TYKw3DvWUpsH3GHhCCMMovg
The dataset can be downloaded with the following command:
!gdown 1hukMWTFj2aSqx2jBh42R-Y6UXrSw60Nj
The preprocess of the image is done image by image by us for a fine-tuned cleaning and a first automatic cleaning using VGG16 to extract the feature of the image and use a unsupervised method to cluster the image in different class.
Here are some examples:
battleships | coast-guard | containerships | cruise-ships | drilling-rigs | motor-yachts | submarines |
---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |