ncnn-android-yolov5 icon indicating copy to clipboard operation
ncnn-android-yolov5 copied to clipboard

运行报错 find_blob_index_by_name images failed

Open wangyuou opened this issue 1 year ago • 1 comments

您好@nihui

我使用yolov5生成一个best.pt,然后使用命令python export.py --weights best.pt --int8 --include onnx --simplify导出onnx模型,再通过pnnx best.onnx inputshape=[1,3,640,640]生成了best.ncnn.bin和best.ncnn.param文件,替换这个工程的文件,点击识别没任何反应日志输出如下: 35.89ms detect 2024-10-10 18:20:29.261 6891-6905 OpenGLRenderer com.tencent.yolov5ncnn I Davey! duration=9223260857263ms; Flags=0, FrameTimelineVsyncId=392958, IntendedVsync=111179591303092, Vsync=111179641303090, InputEventId=801281897, HandleInputStart=111179645622482, AnimationStart=111179645675451, PerformTraversalsStart=111179646356805, DrawStart=111179646678836, FrameDeadline=111179607969758, FrameInterval=111179645602065, FrameStartTime=16666666, SyncQueued=111179648169409, SyncStart=111179648266076, IssueDrawCommandsStart=111179654145555, SwapBuffers=111179655800868, FrameCompleted=9223372036854775807, DequeueBufferDuration=30677, QueueBufferDuration=729323, GpuCompleted=9223372036854775807, SwapBuffersCompleted=111179657125034, DisplayPresentTime=0, 2024-10-10 18:20:42.280 6891-6891 ncnn com.tencent.yolov5ncnn W find_blob_index_by_name images failed 2024-10-10 18:20:42.280 6891-6891 ncnn com.tencent.yolov5ncnn W Try 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W ex.input("in0", in0); 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W find_blob_index_by_name output failed 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W Try 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W ex.extract("out0", out0); 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W find_blob_index_by_name 781 failed 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W Try 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W ex.extract("out0", out0); 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W find_blob_index_by_name 801 failed 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W Try 2024-10-10 18:20:42.281 6891-6891 ncnn com.tencent.yolov5ncnn W ex.extract("out0", out0);

wangyuou avatar Oct 10 '24 10:10 wangyuou