-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Add codec for 3d body #2251
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## refactor_3d #2251 +/- ##
==============================================
Coverage ? 82.30%
==============================================
Files ? 236
Lines ? 14008
Branches ? 2384
==============================================
Hits ? 11529
Misses ? 1915
Partials ? 564
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
def flip_regression(keypoints: np.ndarray, | ||
keypoints_visible: np.ndarray, | ||
flip_indices: List[int], | ||
center_mode: str = 'static', | ||
center_x: float = 0.5, | ||
center_index: int = 0): | ||
"""Flip human joints horizontally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest replacing flip_regression
with flip_keypoints_custom_center
, which can be more readable and differentiated from flip_keypoints()
Motivation
Modification
BC-breaking (Optional)
Use cases (Optional)
Checklist
Before PR:
After PR: