Convert
Converts a labeled dataset from another pose estimation tool into a Lightning Pose project directory.
dataset_path is dispatched by type:
a directory – treated as a DeepLabCut project (
labeled-data/<video>/ CollectedData*.{csv,h5}).a
.slpfile – treated as a SLEAP.pkg.slppackage. Export it from the SLEAP GUI via Predict -> Export Labels Package. Only single-view, single-animal SLEAP projects are supported.
usage: litpose convert <dataset_path> --lp_dir LP_DIR
Positional Arguments
- dataset_path
a DeepLabCut project directory, or a SLEAP .pkg.slp file
Named Arguments
- --lp_dir
destination Lightning Pose project directory; created if it does not exist