我一直在尝试在 colab 上运行 openpose 模型,但由于 Colab 无法识别该目录,因此无法这样做。代码截图
我已在此消息中提供了代码截图,任何帮助或指导将不胜感激!
编辑1:对第一个答案的修改
代码:
!cd openpose && ./build/examples/openpose/openpose.bin -image_dir /drive/My\ Drive/research_project/Fall\ Detection/$category/testdata/video$video --render_pose 0 --disable_blending -keypoint_scale 3 --display 0 -write_json /drive/My\ Drive/research_project/Fall\ Detection/$category/jsondata/video$video
输出:
Error:
Folder /drive/My Drive/research_project/Fall Detection/Coffee_room/testdata/video0/ does not exist.