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

[TODO] Implementation of the ArgMax force-replacement option for NMS with associated class score refinement. #420

Open
PINTO0309 opened this issue Jul 20, 2023 · 0 comments
Labels
OP:ArgMax OP:ArgMax OP:NonMaxSuppression OP:NonMaxSuppression TODO TODO

Comments

@PINTO0309
Copy link
Owner

Issue Type

Others

OS

Linux

onnx2tf version number

1.14.5

onnx version number

1.13.1

onnxruntime version number

1.15.1

onnxsim (onnx_simplifier) version number

0.4.33

tensorflow version number

1.13.0

Download URL for ONNX

Parameter Replacement JSON

N/A

Description

  1. Personal
  2. Implementation of the ArgMax force-replacement option for NMS with associated class score refinement.

TFLite's NMS does not support Multi-class Non-Maximum-Suppression. Thus, faithfully converting the onnx NonMaxSuppresion to the specification breaks it down into several very redundant NMSs, as shown in the figure below. Add an option to disable simultaneous NMS by multiple classes on the same bounding box and force conversion to output only one class, as this is undesirable from a mobile inference performance perspective.

  • ONNX NMS
    image
  • TFLite NMS x 16
    image
@PINTO0309 PINTO0309 added OP:NonMaxSuppression OP:NonMaxSuppression OP:ArgMax OP:ArgMax TODO TODO labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OP:ArgMax OP:ArgMax OP:NonMaxSuppression OP:NonMaxSuppression TODO TODO
Projects
None yet
Development

No branches or pull requests

1 participant