首页 > 解决方案 > 如何使用Detectron2在视频上运行densepose

问题描述

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

projects文件夹中,您可以运行denseposeapplynet.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视频存在,但它已过时,因为它caffe2pytorch.

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

标签: neural-networkartificial-intelligenceobject-detectionpose-estimationdetectron

解决方案


推荐阅读