Tensorflow 对象检测 API - 可视化区域提议 [英] Tensorflow Object Detection API - Visualize region proposals

查看:49
本文介绍了Tensorflow 对象检测 API - 可视化区域提议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使用 Tensorflow 对象检测 API(最好在 Tensorboard 中)可视化由 Faster-RCNN(如 Resnet101_coco)提出的区域建议.有什么办法吗?

I would like to be able to visualize the regions proposals made by Faster-RCNN (like Resnet101_coco) using Tensorflow Object Detection API, preferably in Tensorboard. Is there any way to do so ?

推荐答案

您可以在评估期间(即在运行 object_detection/eval.py 脚本时)在 tensorboard 中可视化检测到的对象,您需要添加num_visualizations 配置文件的键,例如

You can visualize the detected objects in tensorboard during evaluation (i.e. while running object_detection/eval.py script) You would need to add num_visualizations key to the config file, e.g.

eval_config: {
  num_examples: 20000
  num_visualizations: 16
  min_score_threshold: 0.15
  # Note: The below line limits the evaluation process to 10 evaluations.
  # Remove the below line to evaluate indefinitely.
  max_evals: 1
}

运行评估后,您应该能够在 Tensorboard 中看到一个图像选项卡,显示检测到的对象.您可以调整 IoU 阈值 (min_score_threshold) 以改变显示的检测数量.

After running evaluation, you should be able to see an images tab in Tensorboard showing the detected objects. You can adjust the IoU threshold (min_score_threshold) to vary the number of displayed detections.

这篇关于Tensorflow 对象检测 API - 可视化区域提议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆