Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openvinotoolkit/model_api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2fbe00e34fed2ddadb67c16a93110991b1f817ab
Choose a base ref
..
head repository: openvinotoolkit/model_api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 379ba5d03392a41bf7980c5c4120ee3cb8873065
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 model_api/python/model_api/models/keypoint_detection.py
2 changes: 1 addition & 1 deletion model_api/python/model_api/models/keypoint_detection.py
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ def postprocess(
DetectedKeypoints: detected keypoints
"""
encoded_kps = list(outputs.values())
batch_keypoints, batch_scores = _decode_simcc(*encoded_kps)
batch_keypoints, batch_scores = _decode_simcc(*encoded_kps, apply_softmax=self.apply_softmax)
orig_h, orig_w = meta["original_shape"][:2]
kp_scale_h = orig_h / self.h
kp_scale_w = orig_w / self.w