On the following lines, a list containing two times the pooled width and two times the pooled height (in that order) is provided to tf.image.crop_and_resize:
|
crops = tf.image.crop_and_resize( |
|
conv_feature_map, bboxes, batch_ids, |
|
[self._pooled_width * 2, self._pooled_height * 2], name="crops" |
|
) |
However, in the crop_and_resize documentation it states that crop_size should have height first and then width.
On the following lines, a list containing two times the pooled width and two times the pooled height (in that order) is provided to tf.image.crop_and_resize:
luminoth/luminoth/models/fasterrcnn/roi_pool.py
Lines 75 to 78 in 9109d8b
However, in the crop_and_resize documentation it states that crop_size should have height first and then width.