title: Resizing variable sized images for object detection
body: <p>I am using KITTI's object detection dataset to train a Faster R-CNN with ResNet 101, pretrained on MS COCO. KITTI images "mostly" of dimension 375x1242</p>
  
  <p>When I had <code>batch_size: 1</code>, everything was perfect. My <code>keep_aspect_ratio_resizer</code> was like below, as it was proposed by TensorFlow itself.</p>
  
  <pre><code>min_dimension: 600
  max_dimension: 1987
  </code></pre>
  
  <p>But now I want to use batch_size: 5, but I keep getting dimension mismatch errors. Because some of the images have a slightly smaller size, like 370x1224 etc. </p>
  
  <p>I can't find a general <code>keep_aspect_ratio_resizer</code>values. I tried the below values based one the values I saw in the error messages, but I can't make all images the same size really</p>
  
  <pre><code>min_dimension: 600
  max_dimension: 1985
  
  min_dimension: 599
  max_dimension: 1985
  </code></pre>