6xdax / rk3588_yolov5_bytetrack

7 stars 2 forks source link

大佬您好,请教您一下问题 #2

Open irui3 opened 9 months ago

irui3 commented 9 months ago

调用哪个去检测水禽的行为我在rk3588_yolov5_bytetrack-main/install/rknn_yolov5_e_Linux文件夹下使用 ./rknn_yolov5_e ../../model/posture13.rknn ../../model/youshui1000_0001.jpg 命令报错如下:

model input num: 1, output num: 3 index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922 index=0, name=onnx::Reshape_326, n_dims=4, dims=[1, 27, 80, 80], n_elems=172800, size=172800, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=62, scale=0.075889 index=1, name=onnx::Reshape_365, n_dims=4, dims=[1, 27, 40, 40], n_elems=43200, size=43200, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=71, scale=0.051251 index=2, name=onnx::Reshape_404, n_dims=4, dims=[1, 27, 20, 20], n_elems=10800, size=10800, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=65, scale=0.052651 model is NHWC input fmt model input height=640, width=640, channel=3 Read ../../model/youshui1000_0001.jpg ... img width = 1920, img height = 1080 current fps : 25 OpenCV: FFMPEG: tag 0x00000898/'▒???' is not found (format 'mp4 / MP4 (MPEG-4 Part 14)')' [ WARN:0] global ./modules/videoio/src/cap_gstreamer.cpp (1741) open OpenCV | GStreamer warning: OpenCV backend does not support passed FOURCC value [ WARN:0] global ./modules/videoio/src/capgstreamer.cpp (1487) close OpenCV | GStreamer warning: No source in GStreamer pipeline. Ignore resize with RGA! rgaapi version 1.8.0[0] once run use 36.824000 ms draw loadLabelName /home/orangepi/npu/rknpu2-master/examples/rknn_yolov5_e/model/e.txt Open /home/orangepi/npu/rknpu2-master/examples/rknn_yolov5_e/model/e.txt fail! 段错误

6xdax commented 8 months ago

将 model/e.txt 复制到你自己的项目model下 即/home/orangepi/npu/rknpu2-master/examples/rknn_yolov5_e/model/