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 8738973 commit 75b268f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_keypoint_predictions(heatmaps: np.ndarray) -> Tuple[np.ndarray, np.ndarr
return preds, scores


def post_dark_unbiased_data_processing(coords: np.ndarray, batch_heatmaps: np.ndarray, kernel: int = 3):
def post_dark_unbiased_data_processing(coords: np.ndarray, batch_heatmaps: np.ndarray, kernel: int = 3) -> np.ndarray:
"""DARK post-pocessing. Implemented by unbiased_data_processing.
Paper references:
Expand Down

0 comments on commit 75b268f

Please sign in to comment.