# Ship-Detection-using-Tensorflow **Repository Path**: yang20072845/Ship-Detection-using-Tensorflow ## Basic Information - **Project Name**: Ship-Detection-using-Tensorflow - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ship-Detection-using-Tensorflow Using the Airbus data of satellite images I have created a ship detection model using Squeezenet and Yolo algorithm. ## Training I trained the model on google cloud for 2 days untill I burned all my cloud credits. The model achieved an an IOU of 0.442 over test dataset. The model did not performed very-good on test-dataset because of less training hours and another reason as cited by writers of YOLO paper (https://arxiv.org/pdf/1506.02640.pdf) "the algorithm struggles with small objects that appear in groups, such as flocks of birds".The model can be improved by, 1. using Squeezenet17, 2. better datasampling(only 40000 images had ships in 200000 images), 3. more training hours ## Usage Instructions ``` git clone https://github.com/abajaj945/Ship-Detection-using-Tensorflow.git cd Ship-Detection-using-Tensorflow ``` Download the ship data from kaggle https://www.kaggle.com/c/airbus-ship-detection, unzip it i will have a train_ship_segmentations_v2.csv file and and a folder containing training images. Create a new directory for evaluation data Now prepare data for training purpose. ``` python3 generate_data.py --path_to_csv path/to/train_ship_segmentations_v2.csv --train_dir path/to/training images directory --eval-dir path/to/evaluation_dir ``` The data is split into training directory and evaluation directory Now for training ``` main.py --train_dir path/to/training images directory ```