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

Avoid recomputing the affine matrix in bbox rotate #6712

Merged
merged 9 commits into from
Oct 6, 2022

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Oct 6, 2022

Removing the TODO we had for eliminating the re-estimation of the rotation matrix.

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @datumbox , lgtm!

@datumbox datumbox merged commit 61034d5 into pytorch:main Oct 6, 2022
@datumbox datumbox deleted the prototype/affine_bbox branch October 6, 2022 14:20
@datumbox datumbox changed the title Avoid recommuting the affine matrix in bbox rotate Avoid recomputing the affine matrix in bbox rotate Oct 6, 2022
facebook-github-bot pushed a commit that referenced this pull request Oct 17, 2022
Summary:
* Avoid recommuting the affine matrix in bbox rotate

* Fix linter

* inverted=True for estimating image size

* Update the image size estimation to match the one from the image kernel

* Nits

* Address comments.

* Center=0,0 when expand=true

Reviewed By: NicolasHug

Differential Revision: D40427463

fbshipit-source-id: 87e147e8a52c18d90601c6de4b1b182c60b9d8e9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants