dgs.utils.state.State.keypoints

property State.keypoints: torch.Tensor

Get the key-points. The coordinates are based on the coordinate-frame of the full-image.

Optionally loads the key-points from the ‘keypoints_path’ if given. Otherwise, tries to load the key-points from the ‘crop_path’ with ‘_glob.pt’ ending if given. If one of the loading methods is used, the joint_weight will be set.