- 13 Oct, 2022 2 commits
-
-
vfdev authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
vfdev authored
* [proto] Performance improvements for equalize op * Added tests
-
- 12 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Removing unnecessary methods/classes. * Unions instead of ImageOrVideo types * Fixing JIT issue.
-
- 11 Oct, 2022 4 commits
-
-
vfdev authored
* [proto] Small improvement for tensor equalize op * Fix code formatting * Added a comment on the ops
-
Andrey Talman authored
-
Vasilis Vryniotis authored
* Change `image_size` to `spatial_size` * Fix linter * Fixing more tests. * Adding get_num_channels_video and get_spatial_size_* kernels for video, masks and bboxes. * Refactor get_spatial_size * Reduce the usage of `query_chw` where possible * Rename `query_chw` to `query_spatial_size` * Adding `get_num_frames` dispatcher and kernel. * Adding jit-scriptability tests
-
vsuryamurthy authored
* Use the variable name sizes instead of scales for consistency * Add the missing type hints * Restore the naming back to scales instead of sizes to avoid backwards incompatibility
-
- 10 Oct, 2022 5 commits
-
-
Vasilis Vryniotis authored
* Add video support on MixUp and CutMix * Switch back to roll * Fix tests and mypy * Another mypy fix
-
Vasilis Vryniotis authored
* Adding support of Video to missed Transforms and Kernels * Fixing Grayscale Transform. * Fixing FiveCrop and TenCrop Transforms. * Fix Linter * Fix more kernels. * Add `five_crop_video` and `ten_crop_video` kernels * Added a TODO. * Missed Video isinstance * nits * Fix bug on AugMix * Nits and TODOs. * Reapply Philip's recommendation * Fix mypy and JIT * Fixing test
-
Vasilis Vryniotis authored
* Remove performance workaround for mask resize * Fix linter * bug fixes * remove unnecessary import * Fixing linter
-
Philip Meier authored
* enable arbitrary batch size for all prototype kernels * put back perspective dispatcher
-
Philip Meier authored
-
- 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 5 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
-
- 05 Oct, 2022 2 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>
-
YosuaMichael authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 04 Oct, 2022 6 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).
-
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
-
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 1 commit
-
-
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 4 commits
-
-
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 3 commits
-
-
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>
-
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>
-
Philip Meier authored
-
- 27 Sep, 2022 1 commit
-
-
Ambuj Pawar authored
Co-authored-by:Ambuj Pawar <your_email@abc.example>
-