Skip to content

You can use this repo to generate semantic segmentations on drone images using the trained model's checkpoint.

License

Notifications You must be signed in to change notification settings

seedlit/aerial-sem-seg

Repository files navigation

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

About

You can use this repo to generate semantic segmentations on drone images using the trained model's checkpoint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published