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

Support batch and classes for NonMaxSuppression #3999

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

praveen-g-ctt
Copy link
Contributor

No description provided.

@praveen-g-ctt
Copy link
Contributor Author

Following tests are passing

https://github.com/iree-org/iree-test-suites/tree/main/onnx_ops/onnx/node/generated/test_nonmaxsuppression_two_batches
https://github.com/iree-org/iree-test-suites/tree/main/onnx_ops/onnx/node/generated/test_nonmaxsuppression_two_classes

The following test fails in IREE for cpu due to large tensor size used for stack allocation for sort operation. Tested for smaller tensor sizes and it is working as expected with correct results

nod-ai/SHARK-ModelDev#891

// We slice this to required elements at the end

// FIXME:: Currently empty tensors created with dynamic sizes are not
// fully supported. Uncomment the below lines once dynamic sizes for
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Issue is similar to nod-ai/SHARK-ModelDev#876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant