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后推理结果和pth不同 #72

Closed
ifdealer opened this issue Nov 8, 2022 · 0 comments
Closed

导出onnx后推理结果和pth不同 #72

ifdealer opened this issue Nov 8, 2022 · 0 comments

Comments

@ifdealer
Copy link

ifdealer commented Nov 8, 2022

使用里面转换onnx的文件得到新的onnx模型后,同时用pth和onnx模型进行测试,发现得到的推理结果不同,使用onnxruntime
onnx推理结果是(1,22,22,16)和(1,11,11,16)
pth推理得到的是(1,12,22,22),(1,3,22,22),(1,1,22,22) (1,12,11,11),(1,3,11,11),(1,1,11,11)
即使做了处理后得到的最后结果也与pth文件得到的结果不同,不知道大佬能不能指点一下

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