'How to access file in google drive using yolo4

I am following a tutorial on Machine Vision using YOLOV4. I uploaded a video in my Google Drive named video.mp4 and this is the image of it

enter image description here

In the tutorial, I am told that to get the path of the file, all I need is to right click on the file and select 'copy path'

You can copy the path by right-clicking on it and selecting ‘copy path’ from the ‘Files’ menu present on the right-hand side.

But I don't see that option. So I just followed the context of his structure which is like this:

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

and so this is what I did:

!./darknet detector demo cfg/coco.data cfg/yolov4.cfg yolov4.weights /content/drive/My Drive/Colab Notebooks/video.mp4 -i 0 -out_filename results.avi

When I run it in Google Colab, I don't see the video but just this =>

Streaming output truncated to the last 5000 lines.
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 Video-stream stopped! 
 .....

It just goes like this for a long time.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source