Fix annotation of draw_segmentation_masks (#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 <contact@nicolas-hug.com> * Update torchvision/utils.py Small docstring fix * Update torchvision/utils.py * remove unnecessary renaming Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <nicolashug@fb.com>
Showing
Please register or sign in to comment