Skip to content

Commit

Permalink
Update src/transformers/models/vitpose/image_processing_vitpose.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Iakubovskii <[email protected]>
  • Loading branch information
SangbumChoi and qubvel authored Nov 6, 2024
1 parent 9eb2e64 commit 8738973
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def coco_to_pascal_voc(bboxes: np.ndarray) -> np.ndarray:
return bboxes


def get_keypoint_predictions(heatmaps: np.ndarray) -> tuple:
def get_keypoint_predictions(heatmaps: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
"""Get keypoint predictions from score maps.
Args:
Expand Down

0 comments on commit 8738973

Please sign in to comment.