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

onnx导出成功,推理报错Invalid input name: images #561

Open
18384191198 opened this issue Jan 2, 2025 · 0 comments
Open

onnx导出成功,推理报错Invalid input name: images #561

18384191198 opened this issue Jan 2, 2025 · 0 comments

Comments

@18384191198
Copy link

onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Invalid input name: images
有人碰到这个问题过吗。在其他关于onnx导出问题的回复里找到导出的时候加--without-nms以及修改onnx_demo.py里的一部分代码都没解决这个问题。不加--without-nms可以成功导出,但推理会碰到上述问题。如果加--without-nms会报错,提示要用--opset 12,但如果我改成--opset 12,会一直卡着。

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

1 participant