-
Notifications
You must be signed in to change notification settings - Fork 438
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
refactor: Cleaned rotation transforms #536
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks !
Codecov Report
@@ Coverage Diff @@
## main #536 +/- ##
=======================================
Coverage 95.38% 95.38%
=======================================
Files 109 109
Lines 4182 4182
=======================================
Hits 3989 3989
Misses 193 193
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
This PR introduces the following modifications:
RandomRotate
to directly take boxes as target and not a dictexpand
optionPlease note that using
expand=True
changes the size of the output image.Now, the following snippet:
yields:
for both Pytorch & TF
The documentation of
RandomRotate
will now render as follows:Any feedback is welcome!