-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Added the KeyPoints TVTensor #8817
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
8253305
Added Keypoints to the library
Alexandre-SCHOEPP 484561d
Improved KeyPoints to be exported
Alexandre-SCHOEPP 3255890
Added kernels to support the keypoints
Alexandre-SCHOEPP 7436636
Added tests for keypoints
Alexandre-SCHOEPP b35cba6
Applied ufmt formatting
Alexandre-SCHOEPP a19ec0b
Fixed the bugs found while testing
Alexandre-SCHOEPP 5f4b188
Improved documentation to take KeyPoints into account
Alexandre-SCHOEPP cabce1c
Applied ufmt check
Alexandre-SCHOEPP d1b27ad
Fixed the hflip not being along the right coordinate
Alexandre-SCHOEPP 6fa38f4
Merge branch 'main' into main
Alexandre-SCHOEPP 05e4ad6
Merge branch 'main' into main
Alexandre-SCHOEPP 03dc6c8
Merge branch 'main' into main
Alexandre-SCHOEPP d4d087c
Merge branch 'main' into main
Alexandre-SCHOEPP 5a8c5b4
Fixed order of arguments
Alex-S-H-P dea31e2
Reworked logic of the conditions to better handle mutable/non mutable…
Alex-S-H-P 71e20a5
Renamed out variable to be more similar with _resized_crop_bounding_b…
Alex-S-H-P 2f77527
renamed _xyxy_to_points to _xyxy_to_keypoints for consistency
Alex-S-H-P 517a6de
clarified _xyxy_to_points and changed the name of its caller for the …
Alex-S-H-P 63ed4a5
Renamed half_point to more explicit single_coord_shape
Alex-S-H-P 166c1ec
Integrated KeyPoints better in the transforms. It now warns alongside…
Alex-S-H-P fcfd597
Merge branch 'main' into main
Alexandre-SCHOEPP 1cc3b6f
Fixed _geometry.py post botched merge request
Alex-S-H-P 841de77
Review python 3.9 type hint and lint
AntoineSimoulin ff6ab48
Add specific keypoint tests
AntoineSimoulin 0de59e7
Adjust variable names
AntoineSimoulin 4b62ef4
Improved documentation inside of the KeyPoints class definition
Alex-S-H-P e99b82a
Improved convert_bounding_boxes_to_points to handle rotated bounding …
Alex-S-H-P a869f39
Applied ufmt
Alex-S-H-P 6007b2c
Adding a type:ignore[override] on KeyPoints__repr__ as it also exist …
Alex-S-H-P b68b57b
Fixed flake8 compliance on "..." present in the line of the __init__ …
Alex-S-H-P 801e24d
get_all_keypoints is now get_keypoints and returns the only keypoints…
Alex-S-H-P 73a40a8
Fixed docstring on sanitize_keypoints
Alex-S-H-P 6810160
Merge branch 'main' into main
Alexandre-SCHOEPP ef36e93
Merge branch 'main' of github.com:pytorch/vision into Alexandre-SCHOE…
NicolasHug f71bb8a
Fix
NicolasHug 5825706
Fix
NicolasHug 6a14fb9
Fix
NicolasHug 35650a4
Revert "Fix"
NicolasHug 08e8843
Remove some annotations
NicolasHug f03f958
Align signatures
NicolasHug d04a3e3
Proper fix for test_to_tv_tensor_reference
NicolasHug 0b1da89
lint
NicolasHug f4c8da8
Add more keypoints tests in test_tv_tensors
NicolasHug 48289d2
Revert changes to SanitizeBoundingBoxes
NicolasHug fc528ff
Bunch of stuff
NicolasHug ec459e6
Remove some stuff
NicolasHug c499ef5
Fix variable name
NicolasHug e26a07c
Cleanup untested stuff
NicolasHug 8e5ab22
Merge branch 'main' of github.com:pytorch/vision into Alexandre-SCHOE…
NicolasHug b91583e
Add todos and complete error messages
NicolasHug 6dc2e33
Add test for get_size
NicolasHug 0db21e0
Simplify test
NicolasHug d4b130d
Add more tests
NicolasHug 2e28525
More tests
NicolasHug 51bd300
Add more test_functional_signature
NicolasHug 34ba90c
Add more rotate tests
NicolasHug a43e534
Add pad and crop tests
NicolasHug 3441ab9
Add tests for perspective
NicolasHug 74688d6
More tests
NicolasHug a30737c
lint + Temporarily fix the weird TestColorJitter test failure
NicolasHug e88e19f
Remove one TODO, the number of leading dims is correctly tested
NicolasHug 6977c78
Add correctness test for pad
NicolasHug 651d172
Remove sanitize_keypoints, it's not clear that it's strictly needed
NicolasHug 211acf2
Add ClampKeyPoints and corresponding test
NicolasHug 0e1caea
Address bbox to keypoint conversion
NicolasHug 6c481cf
Lint
NicolasHug da82e57
Fix flip
NicolasHug 2788662
resizedCrop test
NicolasHug df95e89
Merge branch 'main' of github.com:pytorch/vision into Alexandre-SCHOE…
NicolasHug 100d571
Fix doc job, I think
NicolasHug 2ab521b
Merge branch 'main' of github.com:pytorch/vision into Alexandre-SCHOE…
NicolasHug 1cf674c
Remove convert_bounding_boxes_to_keypoints
NicolasHug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ info. | |
|
||
Image | ||
Video | ||
KeyPoints | ||
BoundingBoxFormat | ||
BoundingBoxes | ||
Mask | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.