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] Prevent divide-by-zero error on Ascend device for bbox_overlaps #2644

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

dflhw
Copy link
Contributor

@dflhw dflhw commented Mar 7, 2023

Change the value of offset to adapt to the Ascend device.

@dflhw dflhw changed the title [Fix] Prevent divide-by-zero error on Ascend device for bbox_overlaps. [Fix] Prevent divide-by-zero error on Ascend device for bbox_overlaps Mar 7, 2023
@ckirchhoff2021 ckirchhoff2021 self-requested a review March 14, 2023 13:06
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 added the NPU Ascend label Mar 15, 2023
@zhouzaida zhouzaida merged commit 9a671e4 into open-mmlab:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NPU Ascend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants