neural-network - 如何使用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
.
这是可能的还是你不能在视频上运行?
解决方案
推荐阅读
- javascript - DevExtreme React 网格
- c++ - 如何在没有打印语句的情况下报告用户输入错误?
- c++ - 仅当以给定数量的整数开头时如何解析字符串
- jenkins - Jenkins DSL 脚本 - 测试失败 - 发现多个提供方法 lastCompleted 的扩展
- google-cloud-dataflow - Google 数据流 - 排除一个 PCollection
来自另一个 PCollection - simulator - 关于在 Tizen Web Simulator 中运行应用程序
- javascript - Firebase“更新”操作下载数据?
- bash - 如何使用heredoc回答提示问题
- html - 无法摆脱表格之间的空间
- python - 在 Python 中创建嵌套的数据类对象