Xilinx / Vitis-AI-Tutorials

MIT License
380 stars 145 forks source link

yolov4 tutorials : error when running test_video_yolov4 #90

Open theo06v opened 1 year ago

theo06v commented 1 year ago

Hello, I am currently doing the tutorial to deploy yolov4 on ZCU104 using tensorflow. When I execute the command ./test_video_yolov4 dpu_yolov4 0 -t4, this is the error I get. Do you have any idea why I get this error? Moreover, I use the See3CAM camera but I also tried with another camera that I managed to make work with openCV and I got the same error.

root@xilinx-zcu104-2021_1:/usr/share/vitis_ai_library/models/dpu_yolov4# ./test_video_yolov4 dpu_yolov4 0 -t4 [ WARN:0] global /usr/src/debug/opencv/4.4.0-r0/git/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1 [ WARN:0] global /usr/src/debug/opencv/4.4.0-r0/git/modules/videoio/src/cap_gstreamer.cpp (1760) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error. [ WARN:0] global /usr/src/debug/opencv/4.4.0-r0/git/modules/videoio/src/cap_gstreamer.cpp (515) startPipeline OpenCV | GStreamer warning: unable to start pipeline terminate called after throwing an instance of 'std::bad_any_cast' what(): bad any_cast Aborted