Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height and Width Reversed in crop_and_resize #307

Open
leland-hepworth opened this issue Jul 2, 2021 · 0 comments
Open

Height and Width Reversed in crop_and_resize #307

leland-hepworth opened this issue Jul 2, 2021 · 0 comments

Comments

@leland-hepworth
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant