Video-streaming Stopped is showing google colab while using video in YOLOV3 model

拥有回忆 提交于 2020-07-19 06:43:41

问题


!./darknet detector demo cfg/coco.data cfg/yolov3.cfg /content/drive/My\ Drive/checking/yolov3.weights -dont_show -ext_output video.mp4 -i 0 -out_filename res.avi

I am trying to run a video.mp4 in google colab using Yolov3 for object detection but it is continuously showing Video-streaming stopped! as an error. I am stuck at that point.


回答1:


Had the same issue on Google Colab running this code:

!./darknet detector demo cfg/coco.data cfg/yolov4.cfg yolov4.weights test.mp4 -dont_show -i 0 -out_filename results.avi

I managed to solve it specifying the exact path of the input video:

!./darknet detector demo cfg/coco.data cfg/yolov4.cfg yolov4.weights /content/test.mp4 -dont_show -i 0 -out_filename results.avi

Hope it solves your problem too!



来源:https://stackoverflow.com/questions/61678996/video-streaming-stopped-is-showing-google-colab-while-using-video-in-yolov3-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!