I am trying to openpose a video in my google drive mounted directory. I have not had problems doing so by changing the command cell per below until now:
#!rm -rf youtube.mp4
# download the youtube with the given ID
#!youtube-dl -f 'bestvideo[ext=mp4]' --output "youtube.%(ext)s" https://www.youtube.com/watch?v=$YOUTUBE_ID
# cut the first 5 seconds
#!ffmpeg -y -loglevel info -i youtube.mp4 -t 10 video.mp4
# detect poses on the these 5 seconds
#!rm openpose.avi
#!cd openpose && ./build/examples/openpose/openpose.bin --video ../video.mp4 --write_json ./output/ --display 0 --write_video ../openpose-skeleton.avi --disable_blending
!cd openpose && ./build/examples/openpose/openpose.bin --video /content/drive/"My Drive"/TrackNet-master/Code/TrackNet_Three_Frames_Input/fedNadal_TrackNet.mp4 --write_json output/ --display 0 --write_video ../openpose.avi
# convert the result into MP4
!ffmpeg -y -loglevel info -i openpose.avi fedNadal-tnet-opose.mp4
I re-opened a fresh copy of your notebook and used the same commands and now it is working.
I am pretty sure I restarted the runtime as well but going to close this.
I am trying to openpose a video in my google drive mounted directory. I have not had problems doing so by changing the command cell per below until now:
The error I am getting now:
Isn't cuda preinstalled on colab? I checked that I am connected to a GPU runtime.