- 28 Sep, 2022 1 commit
-
-
Nicolas Hug authored
* Remove Kinetics400 class * Remove '2007-test' in VOC * Remove some MobileNet layer classes * Remove torchvision/models/segmentation/segmentation.py * Remove some MultiScaleRoIAlign methods * Remove torchvision/transforms/_functional_video.py * Remove torchvision/transforms/_transforms_video.py * Remove resample parameter in transforms * Remove 'range' parameter * Remove 'fill_value' parameter in transforms * Revert to original warning for C++ models - looks like we should still keep them around? * pre-commit * Fix docs * Remove test/test_transforms_video.py * Some fixes * Remove more tests * Revert changes to C++ models * Add back _transforms_video and change warning message * Change back the warning message, and will change the warning message on separate PR Co-authored-by:
YosuaMichael <yosuamichaelm@gmail.com> Co-authored-by:
Yosua Michael Maranatha <yosuamichael@fb.com>
-
- 22 Jul, 2022 1 commit
-
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 08 Jul, 2022 1 commit
-
-
YosuaMichael authored
* Make ConvNormActivation function accept tuple for kernel_size, stride, padding, and dilation * Fix the method to get the conv_dim * Simplify if-elif logic
-
- 05 Jul, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Make `_log_api_usage_once` work for overwritten classes * Change module prefix to `torchvision.internal`
-
- 06 Jun, 2022 1 commit
-
-
Aditya Oke authored
* Fix the issue :) * Intellij vs ufmt battle * remove .item()
-
- 23 May, 2022 1 commit
-
-
oxabz authored
Throw warning for empty masks or box tensors on draw_segmentation_masks and draw_bounding_boxes (#5857) * Fixing the IndexError in draw_segmentation_masks * fixing the bug on draw_bounding_boxes * Changing fstring to normal string * Removing unecessary conversion * Adding test for the change * Adding a test for draw seqmentation mask * Fixing small mistake * Fixing an error in the tests * removing useless imports * ufmt Co-authored-by:
LEGRAND Matthieu <legrand.ma@chu-toulouse.fr> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 12 May, 2022 1 commit
-
-
Gouvernathor authored
* Clarify TypeError message * typo * Wrap tye() in repr() so that the type-check stfu * Even better message incidentally speeds up the thing, since all() possibly checked all elements and we don't. Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 19 Apr, 2022 1 commit
-
-
Lezwon Castelino authored
* add warning if font is not set * added quotes * added changes after review * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * escaped warning string * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * updated warning message in test * refactored code * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 15 Mar, 2022 1 commit
-
-
Joao Gomes authored
* replace most asserts with exceptions * fix formating issues * fix linting and remove more asserts * fix regresion * fix regresion * fix bug * apply ufmt * apply ufmt * fix tests * fix format * fix None check * fix detection models tests * non scriptable any * add more checks for None values * fix retinanet test * fix retinanet test * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic: * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic * make more checks pythonic * fix bug * appy ufmt * fix tracing issues * fib typos * fix lint * remove unecessary f-strings * fix bug * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/boxes.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/poolers.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/utils.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * Update torchvision/io/_video_opt.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/detection/generalized_rcnn.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/feature_extraction.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/optical_flow/raft.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * addressing further pr comments * fix bug * remove unecessary else * apply ufmt * last pr comment * replace RuntimeErrors Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 16 Feb, 2022 1 commit
-
-
vfdev authored
-
- 08 Feb, 2022 1 commit
-
-
Philip Meier authored
* properly deprecate legacy implementation * cleanup * use warning over deprecation directive * remove patch version * fix link in Kinetics docstring * Some more * fix affine functional tests Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 03 Feb, 2022 1 commit
-
-
Aditya Oke authored
* Add random colors * Update error message, pretty the code * Update edge cases * Change implementation to tuples * Fix bugs * Add tests * Reuse palette * small rename fix * Update tests and code * Simplify code * ufmt * fixed colors -> random colors in docstring * Actually simplify further * Silence mypy. Twice. lol. Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 28 Jan, 2022 1 commit
-
-
Nicolas Hug authored
-
- 27 Jan, 2022 1 commit
-
-
Aditya Oke authored
* Start stuff * Start adding some implementation * Add implementation * Use torch for colorwheel * Add simple test * Fix small numpy rename * Adapt the changes * Fix stuff * Add suggestions * Minor fixes for float * Remove idx logic * Simplify * Fix test * Update code and add test * Add expected flow asset * Fix expected flow path * Doc nits Co-authored-by:
Nicolas Hug <nicolashug@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 26 Jan, 2022 1 commit
-
-
Kai Zhang authored
* add docstring for _log_api_usage_once * lint * rephrase Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 Jan, 2022 1 commit
-
-
ProGamerGov authored
-
- 16 Dec, 2021 2 commits
-
-
Kai Zhang authored
* log API v3 * make torchscript happy * make torchscript happy * add missing logs to constructor * log ops C++ API as well * fix type hint * check function with isinstance Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Sumanth Ratna authored
-
- 15 Dec, 2021 1 commit
-
-
Sumanth Ratna authored
-
- 10 Dec, 2021 1 commit
-
-
Zhiqiang Wang authored
* Add API usage calls to utils * Update to the new api
-
- 09 Dec, 2021 1 commit
-
-
Kai Zhang authored
* revamp log api usage method
-
- 10 Nov, 2021 1 commit
-
-
Aditya Oke authored
* Start writing gallery example * Remove the child image fix implementation add code * add docs * Apply suggestions from code review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * address review update thumbnail Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 Nov, 2021 1 commit
-
-
Aditya Oke authored
* fix * Outline Keypoints API * Add utility * make it work :) * Fix optional type * Add connectivity, fmassa's advice
😃 * Minor code improvement * small fix * fix implementation * Add tests * Fix tests * Update colors * Fix bug and test more robustly * Add a comment, merge stuff * Fix fmt * Support single str for merging * Remove unnecessary vars. Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 29 Oct, 2021 1 commit
-
-
Francisco Massa authored
* Add logging to torchvision ops * Hack to make torchscript work * Bugfix * Bugfix * Lint * mypy... let's silence it * Fighting with mymy * One more try
-
- 28 Oct, 2021 1 commit
-
-
Jirka Borovec authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 25 Oct, 2021 1 commit
-
-
Francisco Massa authored
Summary: We would like to track the internal usage of TorchVision components. We're tracking [datasets usage](https://fburl.com/daiquery/dqpmemn3 ) now. This diff expand the tracking to all models. Reviewed By: fmassa Differential Revision: D31441632 fbshipit-source-id: e26072e582ac9f832c2056307ebf0eccf2ed6c9c Co-authored-by:
Kai Zhang <kaizh@fb.com>
-
- 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
-