【问题标题】:Detect only person class仅检测人员类
【发布时间】:2020-04-22 06:00:27
【问题描述】:

我正在尝试使用 yolo v3 仅检测视频中的“人”类。

为此,我做了以下修改:

I changed number of filters (lines 603, 689, 776 ) from 255 to 18 in yolov3.cfg.
I changed the number of classes from 80 to 1 in the yolov3.cfg and the coco.data files.
I edited the coco.names file in order to leave only the "person" class.

模型运行但未检测到视频源中的任何内容。

您能否就可能出现的问题提出建议并提供建议?

谢谢, 巴甫洛斯

【问题讨论】:

    标签: python opencv darknet


    【解决方案1】:

    如果您想更改配置文件,则必须更改权重文件 - 训练您的自定义网络:instructions。在您的情况下,暗网无法正确解析权重文件并且不起作用。

    或者您可以使用默认权重和 cfg,检测所有对象,但在暗网源(在 C 代码中)仅通过人。

    【讨论】:

      猜你喜欢
      • 2015-06-24
      • 1970-01-01
      • 2019-07-20
      • 2013-05-16
      • 2021-10-22
      • 2020-11-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多