Skip to main content

Label wrapper

User friendly image bootstraping framework.

Label bootstrapping flow

Label wrapper enables label bootstrapping process:

  1. Load first data batch
  2. Manually label first batch
  3. Train first segmentation model
  4. Load second data batch
  5. Use first trained segmentation model to predict labels
  6. Review labels and merge first and second labelled data
  7. train the second segmentation model
  8. Repeat steps 4.-7. until out of raw data or review of labels is no longer required.

Label bootstrapping

Technical implementation example

  1. Load data into dataset
  2. Export html
  3. Label
  4. Export to json
  5. Import json and convert json to tfrecords
  6. Train on tfrecords
  7. Introduce new data
  8. Predict with trained model to tf records
  9. Import stored tfrecords and convert to html with labels
  10. Review stored labels and export to json
  11. Join reviewed json and manual json (from step 4)
  12. Repeat 5 - 11 for n times
  13. Run out of data to label
  14. Measure performance

TODO

  • Finnish dual data dataset with gtiff (add test)
  • mask to shapefile (geocoded)
  • shapefile exporter
  • shapefile imporoter?
  • example inference step with a pretrained segmentation cnn
  • (maybe) constructor should take json and load it in postinit
  • (maybe) Add via html tests with js (selenium?)

Thanks

Label editor used is VIA 2.0.6.

Metadata

Release files for label-wrapper 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for label-wrapper 0.1.2
File Size Uploaded Provenance
label-wrapper-0.1.2.tar.gz 79.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for label-wrapper 0.1.2
File Interpreter ABI Platform
label_wrapper-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 160.3 kB

Release files / label-wrapper-0.1.2.tar.gz

Download URL label-wrapper-0.1.2.tar.gz
Size 79.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aef7ac28f0b24edf7de168cb20694f2ff5efb40e4ec1c16e4588a6cf03564458
BLAKE2b-256 checksum
How to use checksums
fa626e4e731e408d91eca41e5125b4cace0f598c1f32b3de5b3298461a3747a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

Release files / label_wrapper-0.1.2-py2.py3-none-any.whl

Download URL label_wrapper-0.1.2-py2.py3-none-any.whl
Size 80.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d61894fadc6b48003fffff0f1aef29a10652e4489cc6759dbaf950adc70caf05
BLAKE2b-256 checksum
How to use checksums
ed7f6ce5071dfbd587d55e213f7207702a90078147357fdcd5c16d3c038a2c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

Security for label-wrapper 0.1.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page