GithubHelp home page GithubHelp logo

justjoshtings / satellite_image_segmentation Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 5.0 20.62 MB

Experimented with a U-Net variant to perform pixel wise multi-class classification to segment high resolution satellite imagery into land use types with potential applications in deforestation and flood monitoring. Developed with TensorFlow framework.

License: MIT License

Jupyter Notebook 100.00%
cnn-keras tensorflow2 satellite-imagery semantic-segmentation u-net resnet-50 transfer-learning

satellite_image_segmentation's Introduction

Satellite Imagery Semantic Segmentation with CNN

Project Description

Predicting land cover types on remote sensing data using Convolutional Neural Networks. Experimented with U-Net and and U-Net with RestNet50 Encoder backbone architectures to segment satellite imagery.

Sample Predictions

Sample Prediction Masks

Table of Contents

  1. How to Run
  2. Folder Structure
  3. Datasets
  4. Neural Network Architectures
  5. Presentation
  6. Report
  7. References
  8. Licensing

How to Run

  1. Clone this repository. Navigate to desired directory and use:
git clone [email protected]:justjoshtings/satellite_image_segmentation.git
  1. The Python notebook is optimized and set up for proper execution in Google Colab. I'd recommend to upload Land_Cover_Segmentation.ipynb and execute from there. Please see Folder Structure section for how to set up the initial folder structure. The Python notebook will move and create new directories to accomodate for certain preprocessing procedures but the initial setup is shown below.
  2. Download the data from the competition3 and upload all data into Google Drive workspace based on the prior mentioned folder structure.
  3. Execute the Python notebook. Note that for training, it is recommended to connect to a GPU enabled runtime for faster training speeds.

Folder Structure

Initial Google Drive Folder Setup for Google Colab:

satellite_image_segmentation
│    Land_Cover_Segmentation.ipynb
│
└───data
│    │   class_dict.csv
│    │   metadata.csv
│    │
│    └───test
│    │    │ 1499_sat.jpg
│    │    │ 1500_sat.jpg
│    │    │ ...
│    │
│    └───train
│    │    │ 199_sat.jpg
│    │    │ 199_mask.png
│    │    │ ...
│    │
│    └───valid
│    │    │ 1074_sat.jpg
│    │    │ 1074_sat.jpg
│    │    │ ...

Datasets

DeepGlobe Land Cover Classification Dataset from the Competition3

or Kaggle.

Neural Network Architectures

2 types of Fully Convolutional Networks4 were explored with similar final results on validation and testing data.

U-Net Architecture

U-Net

Ronneberger et al. (2015)'s U-Net1

RestNet Encoder Backbone, U-Net Decoder Architecture

ResNet Backbone U-Net Neven, Robby & Goedemé, Toon. (2021). A Multi-Branch U-Net for Steel Surface Defect Type and Severity Segmentation. Metals. 11. 870. 10.3390/met11060870.2

Report

References

  1. Ronneberger et al. (2015)'s U-Net
  2. Neven, Robby & Goedemé, Toon. (2021). A Multi-Branch U-Net for Steel Surface Defect Type and Severity Segmentation. Metals. 11. 870. 10.3390/met11060870.
  3. DeepGlobe Land Cover Classification Dataset from the Competiton
@InProceedings{DeepGlobe18,
 author = {Demir, Ilke and Koperski, Krzysztof and Lindenbaum, David and Pang, Guan and Huang, Jing and Basu, Saikat and Hughes, Forest and Tuia, Devis and Raskar, Ramesh},
 title = {DeepGlobe 2018: A Challenge to Parse the Earth Through Satellite Images},
 booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
 month = {June},
 year = {2018}
}
  1. Long et al. (2015)'s Fully Convolutional Network (FCN)

Licensing

satellite_image_segmentation's People

Contributors

justjoshtings avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

satellite_image_segmentation's Issues

unet_model_v3_epoch6.h5 file missing

Thank you very much for sharing your implementation. I am learning a lot from your Land_Cover_Segmentation.ipynb file.
Unfortunately, I cannot find the file "Land_Cover_Segmentation.ipynb" to load the pretrained weights. Can you please help me?

Thanks

Dataset source

Hi, I saw you recently changed the dataset source from kaggle to the official website, however I note it is not actually available there and moreover there appear to be many unanswered requests for access on https://competitions.codalab.org/forums/15208/
You could suggest both locations with the above caveat.
Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.