我试图运行这个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