dgs.utils.state.State.keypoints_local

property State.keypoints_local: torch.Tensor

Get the local key-points. The local coordinates are based on the coordinate-frame of the image crops, within the bounding-box.

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