如何使用Detectron2在视频上运行densepose

问题描述

我想知道是否可以使用 densepose 在 mp4 上运行 detectron2 注释?

projects 文件夹中,您可以使用 densepose 运行 applynet.py,但这仅适用于图像。我试着运行这个命令

d demo/

python demo.py --config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml \
  --video-input video.mp4 \
  [--other-options]
  --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl

使用 densepose 权重和注释但 Detectron2 给我这个错误

Non-existent config key: MODEL.DENSEPOSE_ON

我知道 DensePose 视频存在,但它已过时,因为它使用与 caffe2 分开的 pytorch

这是可能的还是不能在视频上运行?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)