python - Tensorflow 对象检测 API - 可视化区域建议
问题描述
我希望能够使用 Tensorflow 对象检测 API(最好是在 Tensorboard 中)可视化 Faster-RCNN(如 Resnet101_coco)提出的区域建议。有什么办法吗?
解决方案
您可以在评估期间(即在运行脚本时)可视化 tensorboard 中检测到的对象object_detection/eval.py
您需要将num_visualizations
密钥添加到配置文件,例如
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
) 以改变显示的检测数量。
推荐阅读
- c# - 根据角色和某些条件在 mvc 视图中渲染特定部分
- sql - 写入查询以迭代就业数据表并执行服务持续时间的总和
- r - 使用 Caret 训练不同的 ML 模型
- python - 为什么我在 Python 中使用 ctypes 从 C 函数中得到错误的地址
- docker - 谷歌云运行容器网络
- reporting-services - 具有多列的 SSRS 分组
- opencart - 顶部菜单中的 Opencart 3.0.2.0 和 Journal 3 主题客户名称
- xamarin.forms - 使用 Xamain.Forms.Android 在初始屏幕中播放视频
- halide - 来自生成器的卤化物外部函数调用
- c# - 无法从特定 blob 容器中删除文件