lightning-pose
lightning-pose copied to clipboard
Proposed config file changes for "project spec v1"
The context is aligning app / CLI directory structure.
To summarize the major changes:
- No more paths to label files (
csv_path) or video directory (videos_dir). - Ability to reference a
TXTfile of unsupervised training sessions. - Ability to reference
CSVfiles that override default Session -> calibration and bbox mapping. - All paths are relative to
data_dir. data_dirremains an absolute path, but I plan to make it overrideable at runtime.
Field Mapping
videos_dir$\rightarrow$unsup_sessions_list- Note: Videos are now always looked up from
data_dir/videos - If an alternative storage location is required, users can use a symlink.
- Note: Videos are now always looked up from
csv_file$\rightarrow$label_file_keybbox_file$\rightarrow$use_bboxesANDsession_bbox_filecamera_params_file$\rightarrow$session_calibration_file
The new fields are described in their config file comments
This design is more flexible than my original proposal; it allows overriding default locations of calibration files and bboxes.
Added these doc sections which describe this PR's proposal.
calibrations: https://docs.google.com/document/d/1H9OCIRxlA5JggStAVtLR9RoW358I9ESojLeaepKqcsA/edit?disco=AAABuJdUFkM bboxes: https://docs.google.com/document/d/1H9OCIRxlA5JggStAVtLR9RoW358I9ESojLeaepKqcsA/edit?disco=AAABuJdUFkg