tensorflow - 更改 TensorFlow 2 Object Detection API 的性能指标
问题描述
我在哪里可以找到配置文件?
默认指标基于 Pascal VOC 评估中使用的指标。
要使用 COCO 对象检测指标,请将 metrics_set: "coco_detection_metrics" 添加到配置文件中的 eval_config 消息中。
要使用 COCO 实例分段指标,请将 metrics_set: "coco_mask_metrics" 添加到配置文件中的 eval_config 消息中。
https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html
解决方案
如果您使用模型动物园中的预训练模型,则配置文件是pipeline.config
每个模型存档中的配置文件。如果您正在构建自己的网络,则必须pipeline.config
按照指南编写。因此,只需在COCO 部分编辑您的pipeline.config
添加,如果您想要 PASCAL-VOC,则相同。metrics_set: "coco_detection_metrics"
eval_config
推荐阅读
- tableau-api - Tableau:布尔条件的聚合(编码为字符串)
- java - 我可以在 Spring Bean 配置中为多个弹性搜索索引使用多个弹性搜索主机吗
- reactjs - 在 Reactjs 中使用 XmlHttpRequest 获取本地文本文件可以正常工作,而在 Nextjs 中不能正常工作
- google-bigquery - BigQuery 数据提取不返回 ISO 格式的日期
- python-3.x - Tkinter 检测 OptionMenu 选择何时更改
- python - 有没有更有效的方法来计算 Python 或 R 中的联合 pmf 表?
- python-3.x - 新工作表的值
- javascript - 如何使用 jQuery 更改媒体查询 CSS
- amazon-web-services - 如何处理 aws-appsync 中的关系?
- java - 当我到达列表视图的末尾时应用程序崩溃