- 10 Oct, 2022 3 commits
-
-
Philip Meier authored
* enable arbitrary batch size for all prototype kernels * put back perspective dispatcher
-
Philip Meier authored
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 07 Oct, 2022 3 commits
-
-
Vasilis Vryniotis authored
* Rewrite `get_dimensions`, `get_num_channels` and `get_spatial_size` * Remove `get_chw` * Remove comments * Make `get_spatial_size` support non-image input * Reduce the unnecessary use of `get_dimensions*` * Fix linters * Fix merge bug * Linter * Fix linter
-
Philip Meier authored
* replace new_like with wrap_like * fix videos * revert casting in favor of ignoring mypy
-
Philip Meier authored
* add video feature * add video kernels * add video testing utils * add one kernel info * fix kernel names in Video feature * use only uint8 for video testing * require at least 4 dims for Video feature * add TODO for image_size -> spatial_size * image -> video in feature constructor * introduce new combined images and video type * add video to transform utils * fix transforms test * fix auto augment * cleanup * address review comments * add remaining video kernel infos * add batch dimension squashing to some kernels * fix tests and kernel infos * add xfails for arbitrary batch sizes on some kernels * fix test setup * fix equalize_image_tensor for multi batch dims * fix adjust_sharpness_image_tensor for multi batch dims * address review comments
-
- 06 Oct, 2022 6 commits
-
-
Philip Meier authored
* close streams in prototype datasets * refactor prototype SBD to avoid closing demux streams at construction time * mypy
-
Andrey Talman authored
* Fix windows python 3.8 * Update torchvision/extension.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/extension.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Avoid recommuting the affine matrix in bbox rotate * Fix linter * inverted=True for estimating image size * Update the image size estimation to match the one from the image kernel * Nits * Address comments. * Center=0,0 when expand=true
-
Philip Meier authored
* pad_image_tensor * pad_mask and pad_bounding_box * resize_{image_tensor, mask, bounding_box} * center_crop_{image_tensor, mask} * {five, ten}_crop_image_tensor * crop_{image_tensor, mask} * convert_color_space_image_tensor * affine_{image_tensor, mask, bounding_box} * rotate_{image_tensor, mask} * gaussian_blur_image_tensor * cleanup -
Vasilis Vryniotis authored
-
Philip Meier authored
* make pytest summary more concise * fix comment
-
- 05 Oct, 2022 4 commits
-
-
Aditya Gandhamal authored
* Add ValueError * Add tests for ValueError * Add tests for ValueError * Add ValueError * Change to if/else * Ammend iou_fn tests * Move code excerpt * Format tests Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* use pytest markers instead of custom solution for prototype transforms functional tests * cleanup * cleanup * trigger CI
-
YosuaMichael authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
-
- 04 Oct, 2022 9 commits
-
-
Bowen Bao authored
* Rephrase ONNX RoiAlign warning for aligned=True * add comma Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Karan Desai authored
CUB200 dataset in `torchvision.prototype.datasets` module formed labels using file paths. This resulted in labels being 1-indexed (1-200) instead of 0-indexed (0-199). Similar issue occurred with Flowers102 (`torchvision.datasets` module, #5766).
-
Philip Meier authored
* exclude sphinx-gallery==0.11.0 * fix CSS * Update docs/requirements.txt
-
Joao Gomes authored
* fix bug in output format for pyav * add read from memory with constructor overload * Revert "add read from memory with constructor overload" This reverts commit 14cbbab239165be05096fd6cbb88cb0448502436. * run ufmt
-
Aidyn-A authored
* update test_models.py * update tests * fix linting * fix linting * add comment * Trigger CI Co-authored-by:YosuaMichael <yosuamichael@fb.com>
-
YosuaMichael authored
* Bump main version to 0.15 * Update table on README.rst * Revert the readme update
-
Bowen Bao authored
* Support exporting RoiAlign align=True to ONNX with opset 16 * lint: ufmt Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Robert Perrotta authored
Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Robert Perrotta authored
-
- 03 Oct, 2022 2 commits
-
-
Philip Meier authored
-
Philip Meier authored
* refactor RandomCrop * mypy * fix test * use padding directly rather than private attribute * only compute type specific fill if padding is needed * [DRAFT] don't use the diff trick * fix error message Co-authored-by:
vfdev <vfdev.5@gmail.com> * remove height and width diff * reinstate separate diff checking * introduce needs_crop flag Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 30 Sep, 2022 3 commits
-
-
Philip Meier authored
* prevent feature wrapping for inplace ops * cleanup * mypy * refactor __torch_function__ to be more concise * avoid double lookup * fix normalize * refactor normalize * mypy
-
Philip Meier authored
Co-authored-by:vfdev <vfdev.5@gmail.com>
-
Philip Meier authored
* prevent feature wrapping if the feature is not the primary operand * explicitly add feature tests to CI
-
- 29 Sep, 2022 5 commits
-
-
Vasilis Vryniotis authored
-
Philip Meier authored
* move metadata computation from prototype features into kernels * fix tests * fix no_inplace test * mypy * add perf TODO
-
YosuaMichael authored
* Update the expected removal date for several deprecated API * Revert the change in models/_utils.py * Remove removal date on pretrained=True * Update another message related to pretrained=True * Also update the warning in kwonly_to_pos_or_kw decorator * Update remaining message in _utils.py
-
vfdev authored
* Hack to improve performance of resize op with nearest mode on 2D * Moved hack to prototype * Moved hack into proto and reused code from stable resize * updates * More updates
-
Philip Meier authored
* pass metadata directly after input in prototype kernels * rename img to image
-
- 28 Sep, 2022 5 commits
-
-
Andrey Talman authored
* Removing cuda 102 Display cuda info Address comments try to resolve CUDA version issue More work Base debugging Fix cuda version passing Testing Adding config.yml Adding command we use for pytorch vision install Adding unit tests Modify install command Refactor config.in Move cpu tests to different PR Remove debug code Testing similar exception for linux as windows update test_models.py Revert "Testing similar exception for linux as windows" This reverts commit 4aaee0b56376440bb56ecd3efe25b60595a241a5. Revert "update test_models.py" This reverts commit 413651a308f68b6801681ddfc2c21201c4df3207. * Removing debug statement * Reverting to old command
-
Vasilis Vryniotis authored
* Fix `size` in resize. * Update torchvision/prototype/features/_bounding_box.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Address some of the comments. * Fix `output_size` in center_crop. * Fix `CenterCrop` transform * Fix `size` in five_crop. * Fix `size` in ten_crop. * Fix `kernel_size` and `sigma` in gaussian_blur. * Fix `angle` and `shear` in affine. * Fixing JIT-scriptability issues. * Update TODOs. * Restore fake types for `Union[int, List[int]]` and `Union[int, float, List[float]]` * Fixing tests * Fix linter * revert unnecessary JIT mitigations. * Cherrypick Philip's 6dfc9657ce89fe9e018a11ee25a8e26c7d3d43c6 * Linter fix * Adding center float casting Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
Vasilis Vryniotis authored
* Revert "Bump tol for autocasted `fasterrcnn_resnet50_fpn` (#6601)" This reverts commit a4f53308. * Temporarily remove FasterRCNN autocast test
-
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>
-
Kevin Tse authored
* Replace torch.utils.data.graph.traverse with traverse_dps [ghstack-poisoned] * Update on "Replace `torch.utils.data.graph.traverse` with `traverse_dps`" CI is expected to fail for now. This should be merged only after https://github.com/pytorch/pytorch/pull/85667 has been merged into nightly and internal. [ghstack-poisoned] Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-