我试图运行这个repo以使用 Darkflow 实现 YOLO,但我遇到了这个奇怪的错误(下面的堆栈)。我已经重新安装了 tensorflow 和其他软件包,例如 opencv,它们已经就位。互联网上关于它的信息也很少。高度赞赏有关此问题的任何想法。
(python3:7151): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
OpenCV Error: Unspecified error (GStreamer: cannot link elements
) in CvVideoWriter_GStreamer::open, file /home/strange/software/opencv/modules/videoio/src/cap_gstreamer.cpp, line 1466
Traceback (most recent call last):
File "run.py", line 31, in <module>
tfnet.camera()
File "/home/strange/objectTracking/Tracking-with-darkflow/darkflow/darkflow/net/help.py", line 130, in camera
'output_{}'.format(file), fourcc, fps, (width, height))
cv2.error: /home/strange/software/opencv/modules/videoio/src/cap_gstreamer.cpp:1466: error: (-2) GStreamer: cannot link elements
in function CvVideoWriter_GStreamer::open