Building Footprint Segmentation
Library to train building footprint on satellite and aerial imagery.
Installation
pip install building-footprint-segmentation
Dataset
Training
-
Train With Config , Use config template for generating training config
Visualize Training
Test images at end of every epoch
- Follow Example
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)