Skip to content
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

RandomFlip return wrong keypoint flip result #2526

Closed
zero0kiriyu opened this issue Jan 6, 2023 · 1 comment
Closed

RandomFlip return wrong keypoint flip result #2526

zero0kiriyu opened this issue Jan 6, 2023 · 1 comment
Assignees
Labels

Comments

@zero0kiriyu
Copy link

The current _flip_keypoint function in RandomFlip return the concatenate of keypoints and meta_info

flipped = np.concatenate([keypoints, meta_info], axis=-1)

while the keypoints is the original input and is not fliped.

The correct code should be

flipped = np.concatenate([flipped, meta_info], axis=-1)
@zhouzaida
Copy link
Collaborator

Hi @zero0kiriyu , thanks for your report. Are you interested in making a PR to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants