- 12 Oct, 2022 1 commit
-
-
Philip Meier authored
-
- 11 Oct, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Add seeds on Kernel Info and reduce randomness for Gaussian Blur * Fix linter
-
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
-
- 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
* Remove performance workaround for mask resize * Fix linter * bug fixes * remove unnecessary import * Fixing linter
-
Philip Meier authored
* make args and kwargs in ArgsKwargs more accessible * refactor KernelInfo and DispatcherInfo * remove ArgsKwargs __getitem__ shortcut again
-
Philip Meier authored
* enable arbitrary batch size for all prototype kernels * put back perspective dispatcher
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 07 Oct, 2022 2 commits
-
-
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 2 commits
-
-
Philip Meier authored
* close streams in prototype datasets * refactor prototype SBD to avoid closing demux streams at construction time * mypy
-
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
-
- 05 Oct, 2022 3 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
-
Philip Meier authored
-
- 04 Oct, 2022 2 commits
-
-
Aidyn-A authored
* update test_models.py * update tests * fix linting * fix linting * add comment * Trigger CI Co-authored-by:YosuaMichael <yosuamichael@fb.com>
-
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>
-
- 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 2 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
* prevent feature wrapping if the feature is not the primary operand * explicitly add feature tests to CI
-
- 29 Sep, 2022 2 commits
-
-
Philip Meier authored
* move metadata computation from prototype features into kernels * fix tests * fix no_inplace test * mypy * add perf TODO
-
Philip Meier authored
* pass metadata directly after input in prototype kernels * rename img to image
-
- 28 Sep, 2022 5 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>
-
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>
-
Philip Meier authored
* add more size types for prototype resize sample inputs * add skip for dispatcher * add more sizes to resize kernel info * add more skips * add more diversity to gaussian_blur parameters * diversify affine parameters and fix bounding box kernel * fix center_crop dispatcher info * revert kernel fixes * add skips for scalar shears in affine_bounding_box
-
- 27 Sep, 2022 2 commits
-
-
Ambuj Pawar authored
Co-authored-by:Ambuj Pawar <your_email@abc.example>
-
Erjia Guan authored
* Ignore deprecation warning from traverse function * remove only_datapipe * reinstate warning ignore for DL test * ignore warning class wide due to priority Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 26 Sep, 2022 1 commit
-
-
YosuaMichael authored
* Remove cpp models * Also remove the whole models folder in csrc * Cleanup test for cpp model
-
- 23 Sep, 2022 3 commits
-
-
Philip Meier authored
* add segmentation reference consistency tests * fall back to smoke tests for resize * add test for RandomCrop Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Align and Clean up transform types * Move type definitions to `_utils.py` * fixing error message on tests * Apply code review suggestions Co-authored-by:
vfdev <vfdev.5@gmail.com> * Centralizing types and switching to always getting dicts. * Fixing linter * Refactoring typing definitions. * Remove relative imports. * Reuse type. * Temporarily remove the TorchData tests. * Restore the TorchData tests. Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
Ponku authored
* Added maxvit architecture and tests * rebased + addresed comments * Revert "rebased + addresed comments" This reverts commit c5b28398cd48d2f3403c7c8eeefbaba9df05fcfe. * Re-added model changes after revert * aligned with partial original implementation * removed submitit script fixed lint * mypy fix for too many arguments * updated old tests * removed per batch lr scheduler and seed setting * removed ontap * added docs, validated weights * fixed test expect, moved shape assertions in the begging for torch.fx compatibility * mypy fix * lint fix * added legacy interface * added weight link * updated docs * Update references/classification/train.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/maxvit.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * adressed comments * update ra_maginuted and augmix_severity default values * adressed some comments * remove input_channels parameter Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 22 Sep, 2022 2 commits
-
-
Philip Meier authored
* add KernelInfo for adjust_brightness * add KernelInfo for adjust_contrast * add KernelInfo for adjust_hue * add KernelInfo for adjust_saturation * add KernelInfo for clamp_bounding_box * add KernelInfo for {five, ten}_crop_image_tensor as well as skip functionality * add KernelInfo for normalize * add KernelInfo for adjust_gamma * cleanup * add DispatcherInfo's for previously add KernelInfo's * add dispatcher info for elastic -
Philip Meier authored
* cleanup prototype transforms functional tests * fix * oust local functions
-
- 21 Sep, 2022 3 commits
-
-
Philip Meier authored
* port vertical_flip * port rotate * port crop * port resized_crop * port pad * port perspective * port elastic * port center_crop * port gaussian_blur * port equalize * port invert * port posterize * port solarize * port autocontrast * port adjust_sharpness * port erase * fix kernel infos * renable crop references * add tolerances to gaussian_blur kernel info
-
vfdev authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
vfdev authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 20 Sep, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Improve existing low kernel test. * Add new midlevel jit-scriptability test (failing). * Remove duplicate aliases from kernel tests. * Fixing colour kernels. * Fixing deprecated kernels. * fix mypy * Silence mypy instead of fixing to avoid performance penalty * Fixing augment kernels. * Fixing augment meta. * Remove is_tracing calls. * Add fake ImageType and DType * Fixing type conversion kernels. * Fixing misc kernels. * partial fix geometry * Remove mutable default from `_pad_with_vector_fill()` + all other unnecessary defaults. * Fix geometry ops * Fixing tests * Removed xfail for jit tests on midlevel ops Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
Ambuj Pawar authored
* ADD: init_weights config for googlenet * Fix: Inception and googlenet warnings * Fix: warning in test_datasets.py * Fix: Formatting error with ufmt * Fix: Failing tests in quantized_classification_model * Update test/test_models.py to make googlenet in 1 line Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Refactor: Change inception quantisation class initialization to use args/kwargs * Resolve mypy issue * Move *args before inception_blocks * Move args keywords before other arguments Co-authored-by:
Ambuj Pawar <your_email@abc.example> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-