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

does the onnxruntime include nms? #1

Closed
lucasjinreal opened this issue Jan 26, 2022 · 6 comments
Closed

does the onnxruntime include nms? #1

lucasjinreal opened this issue Jan 26, 2022 · 6 comments

Comments

@lucasjinreal
Copy link

does the onnxruntime include nms?

@DefTruth
Copy link
Owner

not in onnxruntime, but include in lite.ai.toolkit, see the source code here:

@lucasjinreal
Copy link
Author

@DefTruth is that possible export the model directly with nms baked in?

@DefTruth
Copy link
Owner

一般情况不太可能,也不是很有必要导出NMS。NMS里面的一些for循环,哪怕能导出onnx或其他模型文件,算子也会比较琐碎和冗余。用C++写一个不是很难。

@lucasjinreal
Copy link
Author

@DefTruth if target on cpu, it can wrap NonMaxSupression as onnx op. Many forward framework support this op, such as dnn and ort. Not sure about mnn or ncnn

@DefTruth
Copy link
Owner

@DefTruth if target on cpu, it can wrap NonMaxSupression as onnx op. Many forward framework support this op, such as dnn and ort. Not sure about mnn or ncnn

haha, many thanks for your advice~

@DefTruth
Copy link
Owner

🤔没有很专业地在研究推理引擎,只是平时在做算法研究的时候会业余玩一玩,应用为主哈哈。

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