Skip to content

ncnn模型文件在手机上检测结果错误怎么解决 #6075

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

Open
erhzhang opened this issue May 25, 2025 · 1 comment
Open

ncnn模型文件在手机上检测结果错误怎么解决 #6075

erhzhang opened this issue May 25, 2025 · 1 comment

Comments

@erhzhang
Copy link

error log | 日志或报错信息 | ログ

model | 模型 | モデル

  1. original model

how to reproduce | 复现步骤 | 再現方法

1.通过pnnx转成param和bin文件
2.基于ncnn框架,在android studio进行修改
3.在手机上执行识别
4.期望效果(电脑上实现):每张图片检测一个锚框一个标签
5.手机上效果:prob_threshold = 0.9f;nms_threshold = 0.5f;每张图片上仍然有很多的锚框和标签,并且标签还识别错误了

@erhzhang
Copy link
Author

附件是yolov5ncnn_jni.cpp源码和转换后的param文件
yolov5ncnn_jni.txt

best_sim.ncnn.param.txt

@erhzhang erhzhang changed the title ncnn模型文件在手机上检测结果是错的 ncnn模型文件在手机上检测结果错误怎么解决 May 25, 2025
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