ThomasWangWeiHong / JointNet-A-Common-Neural-Network-for-Road-and-Building-Extraction

Python implementation of Convolutional Neural Networks (CNNs) proposed in paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JointNet-A-Common-Neural-Network-for-Road-and-Building-Extraction

Python implementation of Convolutional Neural Networks (CNNs) proposed in paper

This repository includes functions to preprocess the input images and their respective polygons so as to create the input image patches and mask patches to be used for model training. The CNN used here is the JointNet implemented in the paper 'JointNet: A Common Neural Network for Road and Building Extraction' by Zhang Z., Wang Y. (2019).

The binary focal loss function used in this repository is borrowed from umbertogriffo's focal-loss-keras github repository, which can be found at https://github.com/umbertogriffo/focal-loss-keras

The group normalization implementation in Keras used in this repository is the exact same class object defined in the group_norm.py file located in titu1994's Keras-Group-Normalization github repository at https://github.com/titu1994/Keras-Group-Normalization. Please ensure that the group_norm.py file is placed in the correct directory before use.

Requirements:

The JointNet model is trained on the training dataset provided by INRIA under the Inria Aerial Image Labeling Dataset (https://project.inria.fr/aerialimagelabeling/). For the inference stage, the raw image is fed to the model as input, and the model output is then thresholded using a threshold value of 0.6. It should be noted that there is no further post - processing of the model output (in order to illustrate the generalization power of the JointNet model), and it is believed that further post - processing would be able to further improve the results.

  • Bellingham Test Image alt text

  • Bellingham Prediction Results alt text

  • Bloomington Test Image alt text

  • Bloomington Prediction Results alt text

  • Innsbruck Test Image alt text

  • Innsbruck Prediction Results alt text

  • San Francisco Test Image alt text

  • San Francisco Prediction Results alt text

  • Eastern Tyrol Test Image alt text

  • Eastern Tyrol Prediction Results alt text

About

Python implementation of Convolutional Neural Networks (CNNs) proposed in paper


Languages

Language:Python 100.0%