Skip to content

Use stable sort in nms #4488

@shuokay

Description

@shuokay

🚀 The feature

Please use stable sort in nms since torch1.9 has supported stable sort.

Motivation, pitch

Why we need stable sort:
In quantization model, many score are equal due to quantization, so when using unstable sort, the result of nms is non-reproducible.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions