1. 10 Oct, 2022 1 commit
  2. 07 Oct, 2022 2 commits
    • Philip Meier's avatar
      replace new_like with wrap_like (#6718) · 4c049ca3
      Philip Meier authored
      * replace new_like with wrap_like
      
      * fix videos
      
      * revert casting in favor of ignoring mypy
      4c049ca3
    • Philip Meier's avatar
      add Video feature and kernels (#6667) · 3118fb52
      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
      3118fb52
  3. 06 Oct, 2022 2 commits
    • Philip Meier's avatar
      close streams in prototype datasets (#6647) · 7eb5d7fc
      Philip Meier authored
      * close streams in prototype datasets
      
      * refactor prototype SBD to avoid closing demux streams at construction time
      
      * mypy
      7eb5d7fc
    • Philip Meier's avatar
      Reduce sample inputs for prototype transform kernels (#6714) · 026991b1
      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
      026991b1
  4. 05 Oct, 2022 3 commits
  5. 04 Oct, 2022 2 commits
  6. 03 Oct, 2022 1 commit
  7. 30 Sep, 2022 2 commits
  8. 29 Sep, 2022 2 commits
  9. 28 Sep, 2022 5 commits
    • Vasilis Vryniotis's avatar
      [prototype] Fix BC-breakages on input params of `F` (#6636) · b8af91ab
      Vasilis Vryniotis authored
      
      
      * Fix `size` in resize.
      
      * Update torchvision/prototype/features/_bounding_box.py
      Co-authored-by: default avatarPhilip 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: default avatarPhilip Meier <github.pmeier@posteo.de>
      b8af91ab
    • Vasilis Vryniotis's avatar
      Temporarily disable the autocast test for `fasterrcnn_resnet50_fpn` (#6660) · c2ca691d
      Vasilis Vryniotis authored
      * Revert "Bump tol for autocasted `fasterrcnn_resnet50_fpn` (#6601)"
      
      This reverts commit a4f53308.
      
      * Temporarily remove FasterRCNN autocast test
      c2ca691d
    • Nicolas Hug's avatar
      Remove deprecated APIs for 0.14 (#6258) · 7b8a6db7
      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: default avatarYosuaMichael <yosuamichaelm@gmail.com>
      Co-authored-by: default avatarYosua Michael Maranatha <yosuamichael@fb.com>
      7b8a6db7
    • Kevin Tse's avatar
      Replace `torch.utils.data.graph.traverse` with `traverse_dps` (#6657) · 0fd4736e
      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: default avatarPhilip Meier <github.pmeier@posteo.de>
      0fd4736e
    • Philip Meier's avatar
      diversify parameter types for a couple of prototype kernels (#6635) · 29b0831c
      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
      29b0831c
  10. 27 Sep, 2022 2 commits
  11. 26 Sep, 2022 1 commit
  12. 23 Sep, 2022 3 commits
  13. 22 Sep, 2022 2 commits
    • Philip Meier's avatar
      add more KernelInfo's and DispatcherInfo's (#6626) · 3c9ae0ac
      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
      3c9ae0ac
    • Philip Meier's avatar
      cleanup prototype transforms functional tests (#6622) · 658ca539
      Philip Meier authored
      * cleanup prototype transforms functional tests
      
      * fix
      
      * oust local functions
      658ca539
  14. 21 Sep, 2022 3 commits
  15. 20 Sep, 2022 2 commits
    • Vasilis Vryniotis's avatar
      Make prototype `F` JIT-scriptable (#6584) · 841b9a19
      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: default avatarvfdev-5 <vfdev.5@gmail.com>
      841b9a19
    • Ambuj Pawar's avatar
      Remove warnings pytest models (#6593) · 3a1f05ed
      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: default avatarPhilip 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: default avatarAmbuj Pawar <your_email@abc.example>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      3a1f05ed
  16. 19 Sep, 2022 3 commits
  17. 16 Sep, 2022 4 commits