Colab demo not working [BUG]
arditobryan opened this issue · 3 comments
arditobryan commented
When running the colab file and restarting it after dependencies have been installed, the code runs an error at the following line:
# Run the demo
!python demo.py --vid_file sample_video.mp4 --output_folder output/ --sideview
#Output:
Input video "sample_video.mp4" does not exist!
eliohead commented
Sample video is the name of the video you want to process.
-Upload your video on Colab.
-Replace --vid_file sample_video.mp4 with --vid_file "/content/yourvideoname.mp4"
Timkeeper2018 commented
@eliohead another question.
It got stuck at "Input video number of frames 300", when I tried to locate the problem, it was found in
"yolo.py"
"self.model = Darknet(model_def, img_size=img_size).to(device)"
How to solve this problem please?
Timkeeper2018 commented
@eliohead Sorry to bother, I found the reason, my CUDA version is too low