Skip to content

Set seed on test_nms_ref to reduce flakiness #4911

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

Merged
merged 2 commits into from
Nov 11, 2021

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Nov 11, 2021

The test_nms_ref seems to be flaky. This is related to the unstable sort used by NMS. To resolve this we could fix the seeds. A better solution currently investigated at #4767 is to make the sort stale within NMS.

cc @pmeier

@facebook-github-bot
Copy link

facebook-github-bot commented Nov 11, 2021

💊 CI failures summary and remediations

As of commit 31bd6dd (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @datumbox

@datumbox datumbox merged commit ed3e4a8 into pytorch:main Nov 11, 2021
@datumbox datumbox deleted the tests/fix_flaky_nms_ref branch November 11, 2021 15:02
cyyever pushed a commit to cyyever/vision that referenced this pull request Nov 16, 2021
facebook-github-bot pushed a commit that referenced this pull request Nov 17, 2021
Reviewed By: datumbox

Differential Revision: D32470479

fbshipit-source-id: 31d8b9443a0422457d8fd9fd2be5a467c5b02875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants