GUI for guided data labeling
- Run with
python -m labelgui [options ...]
Run with python -m labelgui [base data directory]
.
This starts a GUI in drone mode, for the use by assistants with limited options to influence how the program runs
and where it saves. This expects the following file structure:
[base data directory]/
├── data/
│ └── user/
│ ├── user1/
│ │ └── jobs
│ │ └── labelgui_cfg.yml
│ ├── user2/
│ │ └── jobs
│ │ └── labelgui_cfg.yml
│ └── ...
└── users/
user1, user2,... will be presented in a selection dialog on startup. Currently, the jobs can be in .yml format or .py format. The .py format is to be deprecated in the future.
Marking results will be placed in [base data directory]/users/
To manipulate i.e. merge, add labels files, see --help
for available options.
conda activate bbo_labelgui_qt
.- Install pyinstaller: `pip install pyinstaller.
- If present, empty
dist/
dirctory. pyinstaller --onefile labelgui.py --hidden-import numpy.core.multiarray
- Distribute exe file (or binary) in dist/ folder.
Note: it is necessary to add numpy.core.multiarray as a hidden import as it is necessary for loading .npy sketch files.