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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable class agnostic NMS #1985

Open
kostastsing opened this issue May 9, 2024 · 1 comment
Open

Enable class agnostic NMS #1985

kostastsing opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kostastsing
Copy link

kostastsing commented May 9, 2024

馃挕 Your Question

Any idea on how to enable class agnostic NMS when exporting to onnx using TensorRT backend? There is a class_agnostic parameter for the EfficientNMS_TRT (see here) plugin but I haven't figured out yet how to set it to True

Versions

3.7.0

@BloodAxe
Copy link
Collaborator

BloodAxe commented May 9, 2024

Hi there. Great question!

Out of the box this is not supported, but it is actually not that hard to implement.

First step is to set this attribute in attach_tensorrt_nms method and make this an attribute of a function.

Second step would be to propagate this variable up to the model.export so that is is accessible from the public export API.

We would be happy to get a PR with this enhancement 馃槑 if you manage to get it working :)

@BloodAxe BloodAxe added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants