1. 24 Aug, 2023 1 commit
  2. 22 Aug, 2023 1 commit
  3. 09 Aug, 2023 1 commit
  4. 01 Aug, 2023 2 commits
  5. 28 Jul, 2023 1 commit
  6. 16 Feb, 2023 2 commits
  7. 15 Feb, 2023 1 commit
  8. 27 Jan, 2023 1 commit
  9. 05 Dec, 2022 1 commit
  10. 30 Nov, 2022 1 commit
  11. 27 Oct, 2022 1 commit
    • Vasilis Vryniotis's avatar
      [prototype] Minor speed and nit optimizations on Transform Classes (#6837) · e1f464bd
      Vasilis Vryniotis authored
      * Change random generator for ColorJitter.
      
      * Move `_convert_fill_arg` from runtime to constructor.
      
      * Remove unnecessary TypeVars.
      
      * Remove unnecessary casts
      
      * Update comments.
      
      * Minor code-quality changes on Geometical Transforms.
      
      * Fixing linter and other minor fixes.
      
      * Change mitigation for mypy.`
      
      * Fixing the tests.
      
      * Fixing the tests.
      
      * Fix linter
      
      * Restore dict copy.
      
      * Handling of defaultdicts
      
      * restore int idiom
      
      * Update todo
      e1f464bd
  12. 21 Oct, 2022 1 commit
  13. 14 Oct, 2022 1 commit
  14. 11 Oct, 2022 1 commit
    • Vasilis Vryniotis's avatar
      [prototype] Switch to `spatial_size` (#6736) · 4d4711d9
      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
      4d4711d9
  15. 10 Oct, 2022 1 commit
  16. 07 Oct, 2022 2 commits
    • Vasilis Vryniotis's avatar
      [prototype] Rewrite the meta dimension methods (#6722) · 6e203b44
      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
      6e203b44
    • 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
  17. 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
  18. 23 Sep, 2022 1 commit
  19. 22 Sep, 2022 1 commit
  20. 01 Sep, 2022 1 commit
  21. 30 Aug, 2022 1 commit
  22. 26 Aug, 2022 4 commits
  23. 25 Aug, 2022 1 commit
  24. 24 Aug, 2022 1 commit
    • Philip Meier's avatar
      allow grayscale tensor images in `rgb_to_grayscale` (#6474) · 9559188c
      Philip Meier authored
      * add deprecated color conversion functionals
      
      * allow grayscale tensor inputs in rgb_to_grayscale
      
      * add cloning to tensor no-op
      
      * improve todo comment
      
      * [skip ci]
      
      * use legacy kernels
      
      use legacy kernels
      
      * fix import
      
      * remove duplicate code
      
      * remove duplicate check
      9559188c
  25. 23 Aug, 2022 1 commit
  26. 22 Aug, 2022 1 commit
  27. 18 Aug, 2022 2 commits
  28. 29 Jul, 2022 1 commit
  29. 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
  30. 22 Jul, 2022 1 commit
  31. 05 Mar, 2022 1 commit
  32. 01 Mar, 2022 1 commit
    • Philip Meier's avatar
      Prototype transforms cleanup (#5504) · 64e7460e
      Philip Meier authored
      
      
      * fix grayscale to RGB for batches
      
      * make unsupported types in auto augment a parameter
      
      * make auto augment kwargs explicit
      
      * add missing error message
      
      * add support for specifying probabilites on RandomChoice
      
      * remove TODO for deprecating p on random transforms
      
      * streamline sample type checking
      
      * address comments
      
      * split image_size into height and width in auto augment
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      64e7460e
  33. 28 Feb, 2022 1 commit