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

Neg in ONNX #1555

Closed
pbonazzi opened this issue Oct 19, 2023 · 2 comments
Closed

Neg in ONNX #1555

pbonazzi opened this issue Oct 19, 2023 · 2 comments

Comments

@pbonazzi
Copy link

https://github.com/Deci-AI/super-gradients/blob/68a96bb485cb0f411dce8c42d717da9e69362dee/src/super_gradients/training/utils/bbox_utils.py#L19C1-L19C24

Negations are not supported in certain MicroControllers / Accelerators
I recommend changing this line to :

    x1y1 = points - lt
@pbonazzi
Copy link
Author

It also simplifies the graph
see netron.app

@BloodAxe
Copy link
Collaborator

We merged the patch, thank for contributing!

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

No branches or pull requests

2 participants