dgs.models.dataset.keypoint_rcnn.KeypointRCNNVideoBackbone.get_path_in_dataset¶
- KeypointRCNNVideoBackbone.get_path_in_dataset(path: str) str ¶
Given an arbitrary file- or directory-path, return its absolute path.
check whether the path is a valid absolute path
check whether the path is a valid project path
check whether the path is an existing path within self.params[“dataset_path”]
- Returns:
The absolute found path to the file or directory.
- Raises:
FileNotFoundError – If the path is not found.