Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.69 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.69 KB

Semantic Segmentation on aerial (drone) images

You can use this repo to generate semantic segmentations on drone images. The model was trained using publicly available Semantic Drone Dataset. For training, I trained the model on HRNet using the amazing CSAIL Vision's semantic segmentation pipeline.
I trained the model on Google Colab. If you want to train your own models on colab using this pipeline, please see the train_on_colab.ipynb notebook. Note that we will be saving all the checkpoints on Google drive, as the files are deleted everytime colab environment is reset. For longer trainings, don't save checkpoint for every epoch, as it can fill up your google drive quickly.

Some Results on validation data

result 1

result 2

result 3

result 4

result 5

result 6

result 7

Usage:

You can use the trained model to get results on your custom images.
Step 1: clone the CSAIL Vision's semantic segmentation pipeline.
Step 2: Edit the HRNet config file in the cloned repo (config/ade20k-hrnetv2.yaml). Or use the one in this repo.
Step 3: Update the checkpoint path in config file. Use the chekpoint present in the checkpoint folder.
Step 4: Run the CSAIL Vision's test.py: python test.py --gpu 0 --cfg path-to-config-file --imgs path-to-images-directory