1. 15 Mar, 2024 1 commit
  2. 13 Nov, 2023 1 commit
  3. 30 Aug, 2023 1 commit
  4. 22 Aug, 2023 1 commit
  5. 16 Aug, 2023 1 commit
  6. 10 Aug, 2023 1 commit
  7. 09 Aug, 2023 1 commit
  8. 07 Aug, 2023 1 commit
  9. 02 Aug, 2023 1 commit
  10. 28 Jul, 2023 1 commit
  11. 16 Feb, 2023 2 commits
  12. 20 Jan, 2023 1 commit
  13. 16 Jan, 2023 1 commit
  14. 06 Dec, 2022 1 commit
  15. 05 Dec, 2022 1 commit
  16. 29 Nov, 2022 1 commit
  17. 02 Nov, 2022 1 commit
  18. 25 Oct, 2022 2 commits
  19. 24 Oct, 2022 1 commit
  20. 17 Oct, 2022 1 commit
    • vfdev's avatar
      [proto] Small optimization for gaussian_blur functional op (#6762) · decb1919
      vfdev authored
      * Use softmax in _get_gaussian_kernel1d
      
      * Revert "Use softmax in _get_gaussian_kernel1d"
      
      This reverts commit eb8fba36302d2da9e06e6f40afaaf901b276a771.
      
      * Code update
      
      * Relaxed tolerance in consistency tests for GaussianBlur and ElasticTransform
      
      * Code review updates
      
      * Update test_prototype_transforms_consistency.py
      decb1919
  21. 15 Oct, 2022 1 commit
  22. 12 Oct, 2022 1 commit
  23. 10 Oct, 2022 1 commit
  24. 07 Oct, 2022 1 commit
    • 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
  25. 06 Oct, 2022 1 commit
  26. 30 Sep, 2022 1 commit
  27. 29 Sep, 2022 1 commit
  28. 28 Sep, 2022 1 commit
    • 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
  29. 23 Sep, 2022 1 commit
  30. 20 Sep, 2022 1 commit
    • 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
  31. 26 Aug, 2022 2 commits
    • Vasilis Vryniotis's avatar
      More prototype Transforms cleanups (#6502) · 6746986d
      Vasilis Vryniotis authored
      * `to_image_tensor` returns `feature.Image`
      
      * Normalize filters PIL on forward
      
      * decode_image_with_pil returns feature.Image
      
      * Remove sample unpacking from Normalize
      
      * Removing debug method that cause mypy to complain
      
      * adding back helpful comment
      
      * undo change on normalize kernel to maintain the helpful error message to users who use the kernel directly
      
      * unused import
      6746986d
    • vfdev's avatar
      [proto] Consistent supported/unsupported types handling in... · 7cc2c95a
      vfdev authored
      [proto] Consistent supported/unsupported types handling in LinearTransformation, other perf comments (#6498)
      
      * WIP
      
      * [proto] unformal supported/unsupported types handling in LinearTransformation, other perf comments
      
      * Type fixes and other minor stuff
      7cc2c95a
  32. 25 Aug, 2022 1 commit
  33. 09 Aug, 2022 1 commit
  34. 28 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Ported all transforms to the new API (#6305) · 77c8c91c
      vfdev authored
      * [proto] Added few transforms tests, part 1 (#6262)
      
      * Added supported/unsupported data checks in the tests for cutmix/mixup
      
      * Added RandomRotation, RandomAffine transforms tests
      
      * Added tests for RandomZoomOut, Pad
      
      * Update test_prototype_transforms.py
      
      * Added RandomCrop transform and tests (#6271)
      
      * [proto] Added GaussianBlur transform and tests (#6273)
      
      * Added GaussianBlur transform and tests
      
      * Fixing code format
      
      * Copied correctness test
      
      * [proto] Added random color transforms and tests (#6275)
      
      * Added random color transforms and tests
      
      * Disable smoke test for RandomSolarize, RandomAdjustSharpness
      
      * Added RandomPerspective and tests (#6284)
      
      - replaced real image creation by mocks for other tests
      
      * Added more functional tests (#6285)
      
      * [proto] Added elastic transform and tests (#6295)
      
      * WIP [proto] Added functional elastic transform with tests
      
      * Added more functional tests
      
      * WIP on elastic op
      
      * Added elastic transform and tests
      
      * Added tests
      
      * Added tests for ElasticTransform
      
      * Try to format code as in https://github.com/pytorch/vision/pull/5106
      
      
      
      * Fixed bug in affine get_params test
      
      * Implemented RandomErase on PIL input as fallback to tensors (#6309)
      
      Added tests
      
      * Added image_size computation for BoundingBox.rotate if expand (#6319)
      
      * Added image_size computation for BoundingBox.rotate if expand
      
      * Added tests
      
      * Added erase_image_pil and eager/jit erase_image_tensor test (#6320)
      
      * Updates according to the review
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      77c8c91c
  35. 22 Jul, 2022 1 commit
  36. 01 Mar, 2022 1 commit
  37. 25 Feb, 2022 1 commit
    • Philip Meier's avatar
      Transforms without dispatcher (#5421) · 7251769f
      Philip Meier authored
      
      
      * add prototype transforms that don't need dispatchers
      
      * cleanup
      
      * remove legacy_transform decorator
      
      * remove legacy classes
      
      * remove explicit param passing
      
      * streamline extra_repr
      
      * remove obsolete ._supports() method
      
      * cleanup
      
      * remove Query
      
      * cleanup
      
      * fix tests
      
      * kernels -> functional
      
      * move image size and num channels extraction to functional
      
      * extend legacy function to extract image size and num channels
      
      * implement dispatching for auto augment
      
      * fix auto augment dispatch
      
      * revert some naming changes
      
      * remove ability to pass params to autoaugment
      
      * fix legacy image size extraction
      
      * align prototype.transforms.functional with transforms.functional
      
      * cleanup
      
      * fix image size and channels extraction
      
      * fix affine and rotate
      
      * revert image size to (width, height)
      
      * Minor corrections
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      7251769f