你好请问这是为什么
Opened this issue · 6 comments
Loading model...
sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
Loading model...
sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
Loading model...
sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
[ WARN:0] global ./modules/videoio/src/cap_gstreamer.cpp (1100) open OpenCV | GStreamer warning: Cannot query video position: status=0, value>
rga_api version 1.9.3_[2]
loadLabelName ./model/coco_80_labels_list.txt
Segmentation fault (core dumped)
Loading model... sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8 model input num: 1, output num: 3 model is NHWC input fmt model input height=640, width=640, channel=3 Loading model... sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8 model input num: 1, output num: 3 model is NHWC input fmt model input height=640, width=640, channel=3 Loading model... sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.8 model input num: 1, output num: 3 model is NHWC input fmt model input height=640, width=640, channel=3 [ WARN:0] global ./modules/videoio/src/cap_gstreamer.cpp (1100) open OpenCV | GStreamer warning: Cannot query video position: status=0, value> rga_api version 1.9.3_[2] loadLabelName ./model/coco_80_labels_list.txt Segmentation fault (core dumped)
看起来目录下没有测试视频?而且版本似乎不对(仓库是基于1.5.2的demo,看起来您那边有1.6.0的模型亦或者动态链接库存在)
如果是1.6.0的模型需要修改那些地方呢
./rknn_yolov5_demo ./model/RK3588/cyfs.rknn 0
Loading model...
sdk version: 1.5.2 (c6b7b351a@2023-08-23T15:28:22) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
Loading model...
sdk version: 1.5.2 (c6b7b351a@2023-08-23T15:28:22) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
Loading model...
sdk version: 1.5.2 (c6b7b351a@2023-08-23T15:28:22) driver version: 0.8.8
model input num: 1, output num: 3
model is NHWC input fmt
model input height=640, width=640, channel=3
[ WARN:0] global ./modules/videoio/src/cap_gstreamer.cpp (1100) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
rga_api version 1.9.1_[4]
loadLabelName ./model/coco_80_labels_list.txt
Segmentation fault (core dumped)
我现在已经换成1.5.2的但是还是报错
open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
目录下有默认的测试视频吗?看起来似乎
[ WARN:0] global ./modules/videoio/src/cap_gstreamer.cpp (1100) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
我是用摄像头,我填的序号是0
我是用摄像头,我填的序号是0
看起来并不能正确读取摄像头的输入,您尝试看看能不能在本地视频上运行呢?