Given a State obtain the ground-truth bounding-boxes as torchvision.tv_tensors.BoundingBoxes object of size [T x 4].
State
torchvision.tv_tensors.BoundingBoxes
[T x 4]
Notes
The function box_iou() expects that the bounding boxes are in the ‘XYXY’ format.
box_iou()
IntersectionOverUnion.get_target()
dgs.models.similarity.pose_similarity.IntersectionOverUnion.get_data
dgs.models.similarity.pose_similarity.IntersectionOverUnion.get_train_data