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 | Provenance | Actions |
|---|---|---|---|---|
| building-footprint-segmentation-0.0.2.tar.gz | 21.1 kB | Without provenance | Details for building-footprint-segmentation-0.0.2.tar.gz |
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
|
Security for building-footprint-segmentation 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.