Home

Awesome

AnalyticsVidhya_GameOfDeepLearning

This repository contains 2nd place solution for the Computer Vision Hackathon Game of Deep Learning organised by Analytics Vidhya.

Problem Statement

Ship or vessel detection has a wide range of applications, in the areas of maritime safety, fisheries management, marine pollution, defence and maritime security, protection from piracy, illegal migration, etc.

Keeping this in mind, a Governmental Maritime and Coastguard Agency is planning to deploy a computer vision based automated system to identify ship type only from the images taken by the survey boats. You have been hired as a consultant to build an efficient model for this project.

Dataset Description

There are 6252 images in train and 2680 images in test data. The categories of ships and their corresponding codes in the dataset are as follows -

There are 5 classes of ships to be detected which are as follows:

Evaluation Metric

Weighted F1 score

Approach

ModelPublic LB ScorePrivate LB Score
ResNet500.981270.97129
ResNeXt500.983200.97822
SeResNeXt500.980310.98066
Avg of predictions of 3 models0.985990.98567
Avg of TTA predictions of 3 models0.984100.98815

LeaderBoard

Setting up environment

fastai==1.0.52
pretrainedmodels==0.7.4

Models were trained on Colab using Python 3 notebooks, so other necessary packages were already installed.

Steps to Reproduce

Also predicted probabilities of the three models are provided in PredictedProbabilities folder and the two submission files are provided in FinalSubmission folder