Train

Train a lightning-pose model using the specified configuration file.

usage: litpose train <config_file> \
                      [--output_dir OUTPUT_DIR] \
                      [--overrides KEY=VALUE...]

Positional Arguments

config_file

path a config file. Download and modify the config template from: https://github.com/paninski-lab/lightning-pose/blob/main/scripts/configs/config_default.yaml

Named Arguments

--output_dir

explicitly specifies the output model directory. If not specified, defaults to ./outputs/{YYYY-MM-DD}/{HH-MM-SS}/

--detector_model

If specified, uses cropped training data in the detector model’s directory.

--overrides

overrides attributes of the config file. Uses hydra syntax: https://hydra.cc/docs/advanced/override_grammar/basic/