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

[Fix] Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 #2821

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

dflhw
Copy link
Contributor

@dflhw dflhw commented Jun 5, 2023

Motivation

It is found that parameter 2(ground truth) of the iou op does not support oversized shape([~32000+, 4]), so add a check.

Modification

If the value of gtboxesFP32‘s shape is greater than bboxesFP32, swap them.

@dflhw dflhw changed the title [Fix] Keep the shape value of iou op's parameter 2 smaller than parameter 1 (main) [Fix] Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 (main) Jun 8, 2023
Copy link
Collaborator

@ckirchhoff2021 ckirchhoff2021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@zhouzaida zhouzaida changed the title [Fix] Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 (main) [Fix] Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 Jun 9, 2023
@zhouzaida zhouzaida merged commit 50d1fff into open-mmlab:main Jun 9, 2023
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants