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

retinaface output shape #11

Open
HYL-Dave opened this issue Apr 21, 2021 · 6 comments
Open

retinaface output shape #11

HYL-Dave opened this issue Apr 21, 2021 · 6 comments

Comments

@HYL-Dave
Copy link

output shape 是 (1, 20, 80, 80)请问这有无问题?

@zheshipinyinMc
Copy link
Owner

zheshipinyinMc commented Apr 28, 2021

input shape:(1, 3, 640, 640)
strid cls bbox landmark
8 (1, 4, 80, 80) (1, 8, 80, 80) (1, 20, 80, 80)
16 (1, 4, 40, 40) (1, 8, 40, 40) (1, 20, 40, 40)
32 (1, 4, 20, 20) (1, 8, 20, 20) (1, 20, 20, 20)

@HYL-Dave
Copy link
Author

抱歉,所以想使用ONNX的模型推论还需要对输出进行其他实作吗?还是可以在onnxruntime设置参数做推论?

@zheshipinyinMc
Copy link
Owner

onnx模型检测还需要加上后处理,参考mxnet模型的后处理

@mohamadHN93
Copy link

would you say what are the post processing to extract the landmarks or the bbox of each face in an image

@zheshipinyinMc
Copy link
Owner

post-process is convert model output to detect information,like bbox、score 、landmark

@mohamadHN93
Copy link

mohamadHN93 commented Jun 9, 2021

post-process is convert model output to detect information,like bbox、score 、landmark

Thanks for answering but could you provide a piece of code or the procedure to perform aforementioned post processing in order to extract landmarks , bbox, etc. I am working on utilizing the onnx version into tensorflow then exctracting the landmark.
I'd be grateful if you help me.
regards
or how to perform on these outputs:
input shape:(1, 3, 640, 640)
strid cls bbox landmark
8 (1, 4, 80, 80) (1, 8, 80, 80) (1, 20, 80, 80)
16 (1, 4, 40, 40) (1, 8, 40, 40) (1, 20, 40, 40)
32 (1, 4, 20, 20) (1, 8, 20, 20) (1, 20, 20, 20)

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

3 participants