We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用作者项目中的模型识别就没有问题,换成自己的模型精度就大大降低,原因是:yolo.cpp里的detect函数内 我的:ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB, width, height, w, h); 作者的:ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB2BGR, width, height, w, h); 大家一定注意自己模型输入的image格式,是rgb还是bgr,估计作者的是bgr 如果还有问题可参考自查:https://github.com/Tencent/ncnn/wiki/FAQ-ncnn-produce-wrong-result
The text was updated successfully, but these errors were encountered:
解决了,多谢大佬
Sorry, something went wrong.
多谢大佬!
No branches or pull requests
使用作者项目中的模型识别就没有问题,换成自己的模型精度就大大降低,原因是:yolo.cpp里的detect函数内
我的:ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB, width, height, w, h);
作者的:ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB2BGR, width, height, w, h);
大家一定注意自己模型输入的image格式,是rgb还是bgr,估计作者的是bgr
如果还有问题可参考自查:https://github.com/Tencent/ncnn/wiki/FAQ-ncnn-produce-wrong-result
The text was updated successfully, but these errors were encountered: