Skip to content
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

你好请问这是为什么 #36

Open
CYFS3 opened this issue Apr 1, 2024 · 6 comments
Open

你好请问这是为什么 #36

CYFS3 opened this issue Apr 1, 2024 · 6 comments

Comments

@CYFS3
Copy link

CYFS3 commented Apr 1, 2024

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)

@leafqycc
Copy link
Owner

leafqycc commented Apr 2, 2024

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的模型亦或者动态链接库存在)

@CYFS3
Copy link
Author

CYFS3 commented Apr 4, 2024

如果是1.6.0的模型需要修改那些地方呢

@CYFS3
Copy link
Author

CYFS3 commented Apr 4, 2024

./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的但是还是报错

@leafqycc
Copy link
Owner

leafqycc commented Apr 4, 2024

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

@CYFS3
Copy link
Author

CYFS3 commented Apr 4, 2024

我是用摄像头,我填的序号是0

@leafqycc
Copy link
Owner

leafqycc commented Apr 4, 2024

我是用摄像头,我填的序号是0

看起来并不能正确读取摄像头的输入,您尝试看看能不能在本地视频上运行呢?

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

2 participants