Giter VIP home page Giter VIP logo

unet-road-segmentation's Introduction

Project Road Segmentation

This repo is our participation to the road segmentation project from aicrowd.

The goal of this project is to train a model that can differentiate the road pixels from the background pixels of a satellite image. To achieve this goal, we are provided a training set of a 100 Google Maps images of size 400ร—400 (see data) and their associated ground truths where a 1 indicates a road and a 0 a background (see data). To evaluate the performance of our model, we are also provided 50 similar unlabelled images of size 608x608 (see data).

drawing

Selection of predicted images using our adapted U-Net.

U-Net

We trained a classical U-Net as well as an adapted version of a U-Net. The latter takes as input the 400x400 training images and predicts an image of the same size (using 1 pixel padding during convolutions). To predict the submission images, it directly predicts the 608x608 images.

Environnement setup

All necessary pacake are listed in requirements.txt and can be installed using conda with:

conda install --file requirements.txt 

Run

To create the final prediction execute:

python run.py

The model is downloaded in run_model, the predicted images are stored in run_pred and the prediction file is called submission at the project root level.

Contributors

unet-road-segmentation's People

Contributors

jonasblanc avatar

Watchers

Kostas Georgiou avatar  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.