Skip to content

cuulee/building-footprint-segmentation

 
 

Repository files navigation

Building Footprint Segmentation

Library to train building footprint on satellite and aerial imagery.

Python Contributions welcome Licence Downloads

Buy Me a Coffee at ko-fi.com

merge1

Installation

pip install building-footprint-segmentation

Dataset

Training

Visualize Training

Test images at end of every epoch
Visualizing on Tensorboard
from building_footprint_segmentation.helpers.callbacks import CallbackList, TensorBoardCallback
where_to_log_the_callback = r"path_to_log_callback"   
callbacks = CallbackList()

# Ouptut from all the callbacks caller will be stored at the path specified in log_dir
callbacks.append(TensorBoardCallback(where_to_log_the_callback))

To view Tensorboard dash board

tensorboard --logdir="path_to_log_callback"

Defining Custom Callback

from building_footprint_segmentation.helpers.callbacks import CallbackList, Callback

class CustomCallback(Callback):
    def __init__(self, log_dir):
        super().__init__(log_dir)


where_to_log_the_callback = r"path_to_log_callback"   
callbacks = CallbackList()

# Ouptut from all the callbacks caller will be stored at the path specified in log_dir
callbacks.append(CustomCallback(where_to_log_the_callback))

Segmentation for building footprint

  • binary
  • building with boundary (multi class segmentation)

Weight File

About

Building footprint segmentation from satellite and aerial imagery

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%