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
from building_footprint_segmentation.helpers.callbacks import CallbackList, TestDuringTrainingCallback
class TestCallback(TestDuringTrainingCallback):
def inference(self, model, image, file_name, save_path, index):
"""
:param model: the model used for training
:param image: the images loaded by the test loader
:param file_name: the file name of the test image
:param save_path: path where to save the image
:param index:
:return:
"""
# Define this method on how to handle the prediction at the end of every epoch
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(TestCallback(where_to_log_the_callback))
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"
Segmentation for building footprint
- binary
- building with boundary (multi class segmentation)
Weight File
Metadata
Release files for building-footprint-segmentation 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| building-footprint-segmentation-0.0.2.tar.gz | 21.1 kB | Details |
Release files / building-footprint-segmentation-0.0.2.tar.gz
| Download URL | building-footprint-segmentation-0.0.2.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49d3e5669fa0e3c3389f73838730bc883af3dc97d5d22dd766f8f0fd9e77b31
|
|
BLAKE2b-256 checksum How to use checksums |
10a4fa737acd71fd96be1a8aea9aa0f41e5a8ff9b2108a4188c3df6984937039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|