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
from ultralytics import YOLO model = YOLO("model/segment/best_n.pt") model.export( format="ncnn", simplify=True, opset=12)
自己训练的模型yolo11导出ncnn格式文件后,部署在安卓上闪退;而官方自带导出后能正常运行,可能是什么问题呢?
The text was updated successfully, but these errors were encountered:
我也有类似情况。几年前转的老ncnn模型可以用最新的ncnn安卓库正常运行,但是pnnx转换的ncnn模型在android上一执行 extractor.extract("out0", out);就直接crash了,在x86/X64平台上倒是没问题。
Sorry, something went wrong.
我用Netron看了下源码自带的param和我导出的param;发现自带的有out0,out1和out2 ;而我自己训练的只有out0; 然后我尝试了下,发现Detect后的返回 objects中的labelid和prob全是非常大的值;分析应该是在模型推理过程中已经出错了,也不知道是哪里不兼容,目前已经卡在这里了~~
No branches or pull requests
detail | 详细描述 | 詳細な説明
导出方法 yolo11
from ultralytics import YOLO
model = YOLO("model/segment/best_n.pt")
model.export( format="ncnn", simplify=True, opset=12)
自己训练的模型yolo11导出ncnn格式文件后,部署在安卓上闪退;而官方自带导出后能正常运行,可能是什么问题呢?
The text was updated successfully, but these errors were encountered: