-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add random perspective #2129
Add random perspective #2129
Conversation
Reviewer's Guide by SourceryThis PR adds a new RandomPerspective transform class that serves as an alias for the existing Perspective transform, maintaining API compatibility with torchvision and Kornia libraries. The implementation includes parameter mapping between the different APIs and proper integration with the existing codebase. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @ternaus - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟡 Testing: 1 issue found
- 🟡 Complexity: 1 issue found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2129 +/- ##
=========================================
+ Coverage 0 90.37% +90.37%
=========================================
Files 0 48 +48
Lines 0 7827 +7827
=========================================
+ Hits 0 7074 +7074
- Misses 0 753 +753 ☔ View full report in Codecov by Sentry. |
Fixes: #2081
Summary by Sourcery
Add a new RandomPerspective transformation to the library, providing an alias for the existing Perspective transform to improve compatibility with torchvision and Kornia APIs. Update documentation and tests to reflect this addition and enhance clarity on API compatibility.
New Features:
Enhancements:
Documentation:
Tests: