forked from pytorch/vision
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix annotation of draw_segmentation_masks (pytorch#4527)
* Add str param * Update test to include str * Fix mypy * Remove a small bracket * Test more robustly * Update docstring and test: * Apply suggestions from code review Co-authored-by: Nicolas Hug <[email protected]> * Update torchvision/utils.py Small docstring fix * Update torchvision/utils.py * remove unnecessary renaming Co-authored-by: Nicolas Hug <[email protected]> Co-authored-by: Nicolas Hug <[email protected]>
- Loading branch information
Showing
2 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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 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