return_absolute_data_pathsο
- lightning_pose.utils.io.return_absolute_data_paths(data_cfg: DictConfig, n_dirs_back: int = 3) Tuple[str, str][source]ο
Generate absolute path for our example toy data.
@hydra.main decorator switches the cwd when executing the decorated function, e.g., our train(). so weβre in some /outputs/YYYY-MM-DD/HH-MM-SS folder.
- Parameters:
data_cfg (DictConfig) β data config file with paths to data and video folders.
n_dirs_back (int)
- Returns:
absolute paths to data and video folders.
- Return type:
Tuple[str, str]