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

onnxruntime error log #61

Open
nadongjin opened this issue Dec 28, 2021 · 1 comment
Open

onnxruntime error log #61

nadongjin opened this issue Dec 28, 2021 · 1 comment

Comments

@nadongjin
Copy link

from eval_folder import Face_detection

#default size is 640 ----> No Problem
det = Face_detection(det_shape=640)

but...
det = Face_detection(det_shape=320)
is error code
[The det_shape size should be applicable in various ways.
The reason is that the accuracy can be improved by changing the det_shape size in the case of a large face or others in a small image.
However, even if an error occurs, it actually works.]
Thank you....

2021-12-28 14:54:56.6901089 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {800,10} does not match actual shape of {200,10} for output 500
2021-12-28 14:54:56.6904434 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {800,4} does not match actual shape of {200,4} for output 497
2021-12-28 14:54:56.6907553 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {800,1} does not match actual shape of {200,1} for output 494
2021-12-28 14:54:56.6912094 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {3200,10} does not match actual shape of {800,10} for output 477
2021-12-28 14:54:56.6915326 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {3200,4} does not match actual shape of {800,4} for output 474
2021-12-28 14:54:56.6918425 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {3200,1} does not match actual shape of {800,1} for output 471
2021-12-28 14:54:56.6924277 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {12800,10} does not match actual shape of {3200,10} for output 454
2021-12-28 14:54:56.6932614 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {12800,4} does not match actual shape of {3200,4} for output 451
2021-12-28 14:54:56.6935837 [W:onnxruntime:, execution_frame.cc:770 onnxruntime::ExecutionFrame::VerifyOutputSizes] Expected shape from model of {12800,1} does not match actual shape of {3200,1} for output 448
..............................

@leondgarse
Copy link
Owner

Ya, SCRFD is trained on 640x480 resolution, so onnx also expecting det_shape=640. It's said SCRFD only works better at 640: SCRFD vs TinaFace vs Retinaface #1639.

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