Tensorflow 1.9 / Object Detection: model_main.py only evaluates one image

旧城冷巷雨未停 提交于 2019-12-03 03:19:04

You are right, object detection supports only batch sizes of 1 for evaluation. The number of evaluations is equal to the number of eval steps. Eval metrics are accrued across batches.

Btw, a change to view more eval images in Tensorboard was just submitted to master.

I have the same issue when using the model_main.py module. When using the train.py and eval.py functions that can be found in the object_detection/legacy/ directory, however, I can see more than one image in tensorboard.

I didn't have enough time yet to go through the code to understand fully what is going on. I think this eval function is not calling the part of the code that you are quoting, because the images in tensorboard are different. Rather than having the left/right image pairs showing prediction/ground_truth, it is only the predicted bounding box that is shown.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!