-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Random colors for drawing boxes #5127
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 all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
49d81db
Add random colors
oke-aditya 67cc6c0
Update error message, pretty the code
oke-aditya 3aabd21
Update edge cases
oke-aditya 0566ee3
Change implementation to tuples
oke-aditya 900ff7c
Fix bugs
oke-aditya 68ca7f2
Merge branch 'main' of https://github.com/pytorch/vision into add_clr
oke-aditya 57fd9b0
Add tests
oke-aditya 8c4d70f
Reuse palette
oke-aditya 5a94e30
Merge branch 'main' of https://github.com/pytorch/vision into add_clr
oke-aditya 1f89e2e
small rename fix
oke-aditya 1a7c2cc
Merge branch 'main' of https://github.com/pytorch/vision into add_clr
oke-aditya d8440c1
Merge branch 'main' of https://github.com/pytorch/vision into add_clr
oke-aditya 587a8d4
Update tests and code
oke-aditya 36c606d
Simplify code
NicolasHug f9b4d2f
ufmt
NicolasHug 3ef7360
Merge branch 'main' of github.com:pytorch/vision into add_clr
NicolasHug 4c95a5c
fixed colors -> random colors in docstring
NicolasHug fcba00a
Actually simplify further
NicolasHug 056a033
Silence mypy. Twice. lol.
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
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
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.