User friendly image bootstraping framework.
Project description
Label wrapper
User friendly image bootstraping framework.
Label bootstrapping flow
Label wrapper enables label bootstrapping process:
- Load first data batch
- Manually label first batch
- Train first segmentation model
- Load second data batch
- Use first trained segmentation model to predict labels
- Review labels and merge first and second labelled data
- train the second segmentation model
- Repeat steps 4.-7. until out of raw data or review of labels is no longer required.
Technical implementation example
- Load data into dataset
- Export html
- Label
- Export to json
- Import json and convert json to tfrecords
- Train on tfrecords
- Introduce new data
- Predict with trained model to tf records
- Import stored tfrecords and convert to html with labels
- Review stored labels and export to json
- Join reviewed json and manual json (from step 4)
- Repeat 5 - 11 for n times
- Run out of data to label
- Measure performance
TODO
- FileNotFoundError: [Errno 2] No such file or directory: '/home/rok/.virtualenvs/d3m/lib/python3.6/site-packages/label_wrapper/via-2.0.6.html'
- Finnish dual data dataset with gtiff
- mask to shapefile (geocoded)
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
label-wrapper-0.1.1.tar.gz
(79.9 kB
view hashes)
Built Distribution
Close
Hashes for label_wrapper-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 812f1fa770e46576e1b1e485f95aa91a05cf36340aee3129a34aaf565593232f |
|
MD5 | 0dd513afd24f198e72007a695a2a43cd |
|
BLAKE2b-256 | d39bf7cf67bd71c1dfafdc635bd710f83f1d4e9d4b605ddae95e4a1d87811e8a |