Skip to content

Avoid recomputing the affine matrix in bbox rotate#6712

Merged
datumbox merged 9 commits intopytorch:mainfrom
datumbox:prototype/affine_bbox
Oct 6, 2022
Merged

Avoid recomputing the affine matrix in bbox rotate#6712
datumbox merged 9 commits intopytorch:mainfrom
datumbox:prototype/affine_bbox

Conversation

@datumbox
Copy link
Copy Markdown
Contributor

@datumbox datumbox commented Oct 6, 2022

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

Copy link
Copy Markdown
Contributor

@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