Skip to content

supoort single color in utils.draw_bounding_boxes #4075

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 6 commits into from
Jun 23, 2021
Merged

supoort single color in utils.draw_bounding_boxes #4075

merged 6 commits into from
Jun 23, 2021

Conversation

Separius
Copy link
Contributor

No description provided.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Separius , this looks good. Could you please add a test in test/test_utils.py making sure that single colors are effectively supported? No need to go overboard, we can just check that strings and tuples are accepted, without necessarily checking the output.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Separius ! LGTM!

@NicolasHug NicolasHug merged commit 850491e into pytorch:master Jun 23, 2021
facebook-github-bot pushed a commit that referenced this pull request Jun 25, 2021
Reviewed By: NicolasHug

Differential Revision: D29369892

fbshipit-source-id: 395b11c7baf641f4f9afa5b1aa17f8de2a8dfcad
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