Coder Social home page Coder Social logo

onejune2018 / pixel_level_land_classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/pixel_level_land_classification

0.0 1.0 0.0 12.92 MB

Tutorial demonstrating how to create a semantic segmentation (pixel-level classification) model to predict land cover from aerial imagery. This model can be used to identify newly developed or flooded land. Uses ground-truth labels and processed NAIP imagery provided by the Chesapeake Conservancy.

License: MIT License

Python 4.79% Jupyter Notebook 95.21%

pixel_level_land_classification's Introduction

Pixel-level land cover classification

This repository contains a tutorial illustrating how to create a deep neural network model that accepts an aerial image as input and returns a land cover label (forested, water, etc.) for every pixel in the image. Microsoft's Cognitive Toolkit (CNTK) is used to train and evaluate the model on an Azure Geo AI Data Science Virtual Machine or an Azure Batch AI GPU cluster. The method shown here was developed in collaboration between the Chesapeake Conservancy, ESRI, and Microsoft Research as part of Microsoft's AI for Earth initiative.

We recommend budgeting two hours for a full walkthrough of this tutorial. The code, shell commands, trained models, and sample images provided here may prove helpful even if you prefer not to complete the walkthrough: we have provided explanations and direct links to these materials where possible.

How to Get Started

The training and evaluation steps of this tutorial can be performed on either:

  • an Azure Geo AI Data Science VM
    • Train a model on a data sample using Jupyter notebooks
    • Deploy the trained model directly in ESRI's ArcGIS Pro
  • an Azure Batch AI GPU cluster
    • Set up your cluster and submit jobs to it from your command line
    • Learn how to scale to large clusters for faster training on larger datasets
    • (Optional) After training, you may download your model and deploy it in ArcGIS Pro on a Geo AI DSVM (see provisioning instructions to get started)
Geo AI DSVM Batch AI
Create a Geo AI Data Science VM Create a Batch AI cluster
Train a model in a Jupyter notebook Train a model on the Batch AI cluster
Evaluate the model using a Jupyter notebook Evaluate the model using a GPU cluster
Deploy your model in ArcGIS Pro Learn how to scale up training

Sample Output

This tutorial will train a pixel-level land cover classifier for a single epoch: your model will produce results similar to bottom-left. By expanding the training dataset and increasing the number of training epochs, we achieved results like the example at bottom right. The trained model is accurate enough to detect some features, like the small pond at top-center, that were not correctly annotated in the ground-truth labels.

Related materials

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

pixel_level_land_classification's People

Contributors

mawah avatar yangsiyu007 avatar microsoftopensource avatar hanhu7 avatar jennifermarsman avatar msftgits avatar

Watchers

James Cloos avatar

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.