Faster RCNN + inception v2 input size

时光总嘲笑我的痴心妄想 提交于 2019-12-11 06:08:37

问题


What is the input size of faster RCNN RPN? I'm using an object detection API of Tensorflow which is using faster RCNN as region proposal network ( RPN ) and Inception as feature extractor ( according to the config file ). The API is using the online approach in prediction phase and detects every input image singly. however, I'm now trying to feed images to the network in the batch manner by use of Tensorflow dataset API. as you know for make batch out of the data, firstly we need to resize all of the images to a same size. I think the best way of resizing the images is to resize them exactly to the input size of faster RCNN to avoid duplicate resizing. Now my question is what is the input size of the faster RCNN RPN? thanks in advance


回答1:


It depends on the input resolution which was specified in the pipeline config file, in image_resizer. For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file. The specified resolution is 600x1024.

On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture. But this doesn't mean that the model will be robust to it if you're training on a single resolution.



来源:https://stackoverflow.com/questions/53387059/faster-rcnn-inception-v2-input-size

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