- 05 Oct, 2021 1 commit
-
-
Aditya Oke authored
* 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>
-
- 04 Oct, 2021 1 commit
-
-
Philip Meier authored
* add ufmt as code formatter * cleanup * quote ufmt requirement * split imports into more groups * regenerate circleci config * fix CI * clarify local testing utils section * use ufmt pre-commit hook * split relative imports into local category * Revert "split relative imports into local category" This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51. * pin black and usort dependencies * fix local test utils detection * fix ufmt rev * add reference utils to local category * fix usort config * remove custom categories sorting * Run pre-commit without fixing flake8 * got a double import in merge Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 23 Jun, 2021 1 commit
-
-
Sepehr Sameni authored
-
- 11 Jun, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Adding a test for grayscale images. * Doing the ops in torch, adding more checks.
-
Sugato Ray authored
* allow single-channel-images in draw_bounding_boxes This is bug-fix for issue #4042. https://github.com/pytorch/vision/issues/4042 * change made for passing linting requirements #4042
-
- 04 Jun, 2021 1 commit
-
-
Shengwei An authored
-
- 22 May, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 17 May, 2021 1 commit
-
-
Nicolas Hug authored
Rewrite draw_segmentation_masks and update gallery example to illustrate both instance and semantic segmentation models (#3824)
-
- 11 May, 2021 1 commit
-
-
Nicolas Hug authored
-
- 30 Mar, 2021 1 commit
-
-
Aditya Oke authored
* start adding tests * add return type and doc * adds tests * add no fill tests * add rgb test * check inplace * bug fix * bug fix * rewrite make grid * add plotting demos * rename file * remove * updt * Add viz * updt * update readme, add links * complte bounding boxes * Complete the examples! * link fix * link fixed Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Mar, 2021 1 commit
-
-
Aditya Oke authored
* add draw segm masks * rewrites with new api * fix flaky colors * fix resize bug * resize for sanity * cleanup * project the image * Minor refactor to adopt num classes * add uint8 in docstring * adds alpha and docstring * move code a bit down * Minor fix * fix type check * Fixing resize bug. * Fix type of alpha. * Remove unnecessary RGBA conversions. * update docs to supported only rgb * minor edits * adds tests * shifts masks up * change tests and impelementation for bool * change mode to L * convert to float * fixes docs Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 01 Feb, 2021 1 commit
-
-
Aditya Oke authored
* adds fill paramter * small doc edit * Change fill to bool * add filled * fix the bugs * Fixes bugs * adds test with fill param * fix tuple bug Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 29 Jan, 2021 2 commits
-
-
Nicolas Hug authored
* Document undodcumented parameters * remove setup.cfg changes * Properly pass normalize down instead of deprecating it * Fix flake8 * Add new CI check * Fix type spec * Leave normalize be part of kwargs Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
-
- 20 Jan, 2021 1 commit
-
-
Aditya Oke authored
* Fixes utils * don't use any * slightly simplify logic Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 01 Dec, 2020 1 commit
-
-
AdityaKhursale authored
* Fix: Improve the bounding boxes implementation Use write_png instead of PIL in test_draw_boxes() Initialize txt_font only once * Remove channels permutation in test_draw_boxes Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Aditya Khursale <akhursale@nvidia.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 27 Nov, 2020 1 commit
-
-
Aditya Oke authored
* initital prototype * flake * Adds documentation * minimal working bboxes * Adds label display * adds colors :-) * adds suggestions and fixes CI * handles image of dim 4 * fixes image handling * removes dev file * adds suggested changes * Updating the API. * Update test. * Implementing code review improvements. * Further refactoring and adding test. * Replace random to white to reduce size and change font on tests. Co-authored-by:Vasilis Vryniotis <vvryniotis@fb.com>
-
- 09 Nov, 2020 1 commit
-
-
Tongzhou Wang authored
* make_grid should not avoid DBZ by adding eps While this doesn't matter in most cases where the images is quantized to [0,255] afterwards, it still is not a faithful de-normalization. It is a simple change to make it use clamp instead. * fix max/min shadowing
-
- 11 May, 2020 1 commit
-
-
Philip Meier authored
* add mypy config * fix syntax error * fix annotations in torchvision/utils.py * add mypy type check to CircleCI * add mypy cache to ignore files * try fix CI * ignore flake8 F821 since it interferes with mypy * add mypy type check to config generator * explicitly set config files
-
- 07 Apr, 2020 1 commit
-
-
Philip Meier authored
-
- 06 Apr, 2020 1 commit
-
-
Philip Meier authored
* type annotations for torchvision/utils.py * add missing annotation for make_grid * fix annotation for save_image * mirror PIL annotation for fp
-
- 02 Apr, 2020 1 commit
-
-
Francisco Massa authored
Summary: Fix docstring formatting issues Reviewed By: fmassa Differential Revision: D20736644 fbshipit-source-id: 78f66045cfd4c84cb35ca84a1e1fa6aadcd50642 Co-authored-by:Patrick Labatut <plabatut@fb.com>
-
- 23 Sep, 2019 1 commit
-
-
Surgan Jandial authored
* format param added * lint fixes * lint fixes * lint fixes
-
- 10 Sep, 2019 1 commit
-
-
Dmitrii Petukhov authored
-
- 28 Aug, 2019 1 commit
-
-
buoyancy99 authored
* Fix bug of changing input tensor in function The original code will change the image tensor passed in by multiplying it by 255. The PR fixes that. * fix inplace multiplication in save_image
-
- 26 Jun, 2019 1 commit
-
-
Benoit Brummer authored
* fix save_image when height or width == 1 * test_save_image_single_pixel
-
- 27 May, 2019 1 commit
-
-
Tongzhou Wang authored
-
- 28 Feb, 2019 1 commit
-
-
Surgan Jandial authored
-
- 21 Feb, 2019 1 commit
-
-
Tongzhou Wang authored
-
- 16 Apr, 2018 1 commit
-
-
Francisco Massa authored
-
- 12 Apr, 2018 1 commit
-
-
Tongzhou Wang authored
-
- 30 Jan, 2018 1 commit
-
-
Francisco Massa authored
Fixes https://github.com/pytorch/vision/issues/397
-
- 06 Dec, 2017 1 commit
-
-
Yashas Annadani authored
-
- 03 Dec, 2017 1 commit
-
-
Yashas Annadani authored
-
- 08 Sep, 2017 2 commits
-
-
Alykhan Tejani authored
-
Alykhan Tejani authored
* load densenet tensors onto cpu * fix uneven padding in make_grid * revert incorrectly added commit
-
- 04 Sep, 2017 1 commit
-
-
Francisco Massa authored
-
- 21 Aug, 2017 1 commit
-
-
Mikhail Korobov authored
* DOC fixed typo in make_grid argument name * DOC document "padding" make_grid argument
-
- 02 Jun, 2017 1 commit
-
-
Sasank Chilamkurthy authored
* Add documentation for transforms * document and remove unused imports in mnist.py * document lsun, mscoco datasets * rest of the datasets documented * Clean up the documentation in other functions * Add links for datasets * Add more documentation * pep8 fix
-
- 07 Apr, 2017 1 commit
-
-
Dmitry Ulyanov authored
* add pad_value argument * add argument to save_image * fix space * requested change of order * update docs
-