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

您好,我跑通了opencv dnn推理yolox-tiny #9

Open
wwzh2015 opened this issue Nov 21, 2021 · 0 comments
Open

您好,我跑通了opencv dnn推理yolox-tiny #9

wwzh2015 opened this issue Nov 21, 2021 · 0 comments

Comments

@wwzh2015
Copy link

我如你所说注释掉了均值那些(void yolox::normalize(Mat& img))
然后就跑通了,但是我感觉AP好像没有ncnn高(threshold阈值都是0.25),当然速度确实比ncnn快了一倍(i3-8100 cpu)。
请问是不是要改如下几处? 也就是说yolox-tiny不能沿用你在cpp里预设好的值?

const int stride[3] = { 8, 16, 32 };
const float mean[3] = { 0.485, 0.456, 0.406 };
const float std[3] = { 0.229, 0.224, 0.225 };

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