1. 28 Jul, 2023 1 commit
  2. 27 Jul, 2023 1 commit
  3. 24 Feb, 2023 3 commits
  4. 21 Feb, 2023 1 commit
  5. 16 Feb, 2023 2 commits
  6. 14 Feb, 2023 1 commit
  7. 13 Feb, 2023 2 commits
  8. 31 Jan, 2023 1 commit
  9. 24 Jan, 2023 1 commit
  10. 05 Dec, 2022 1 commit
  11. 21 Oct, 2022 3 commits
  12. 12 Oct, 2022 1 commit
  13. 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
  14. 10 Oct, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding support of Video to remaining Transforms and Kernels (#6724) · a3fe870b
      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
      a3fe870b
  15. 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
  16. 23 Sep, 2022 1 commit
  17. 14 Sep, 2022 1 commit
  18. 31 Aug, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Prototype Transform cleanups and bugfixing (#6512) · 54dd0a59
      Vasilis Vryniotis authored
      
      
      * clean up bboxes
      
      * Correcting bug on RandAugment.
      
      * Fix bug on erase()
      
      * Moving `_parse_pad_padding()` to functional geometry
      
      * Fixing bug on deprecated Grayscale transforms
      
      * Porting old bugfixes from main branch to _apply_image_transform
      
      * Dropping mandatory keyword arguments to maintain BC.
      
      * Adding antialias option where possible.
      
      * Specifying types in `_transform()` where possible.
      
      * Add todo.
      
      * Fixing tests.
      
      * Adding padding_mode in pad_bbox
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      54dd0a59
  19. 26 Aug, 2022 2 commits
    • Philip Meier's avatar
      More cleanup for prototype transforms (#6500) · 7245dc9e
      Philip Meier authored
      * add aliases for hflip and vflip
      
      * reduce imports from torchvision.transforms in torchvision.prototype.transforms
      
      * add aliases for to_pil_image abd pil_to_tensor
      
      * deprecate to_tensor
      
      * add some FIXME cleanup comments
      
      * address reviews
      
      * add dimension getters
      
      * undeprecate PILToTensor and ToPILImage
      
      * address review
      
      * fix test
      7245dc9e
    • Philip Meier's avatar
      move simple_tensor to features module (#6507) · 7de63171
      Philip Meier authored
      * move simple_tensor to features module
      
      * fix test
      7de63171
  20. 25 Aug, 2022 2 commits
    • Vasilis Vryniotis's avatar
      [proto] Use the proper `_transformed_types` in all Transforms and eliminate... · 9f6a189e
      Vasilis Vryniotis authored
      [proto] Use the proper `_transformed_types` in all Transforms and eliminate unnecessary dispatching (#6494)
      
      * Update types in deprecated transforms.
      
      * Update types in type conversion transforms.
      
      * Fixing types in meta transforms.
      
      * More changes on type conversion.
      
      * Bug fix.
      
      * Fix types
      
      * Remove unnecessary conversions.
      
      * Remove unnecessary import.
      
      * Fixing tests
      
      * Remove copy support from `to_image_tensor`
      
      * restore test param
      
      * Fix further tests
      9f6a189e
    • vfdev's avatar
      [proto] Fixes Transform._transformed_types and torch.Tensor (#6487) · 0eb8aabd
      vfdev authored
      * Fixes unexpected behaviour with Transform._transformed_types and torch.Tensor
      
      * Make code consistent to has_any, has_all implementation
      
      * Fixed failing flake8 check
      0eb8aabd
  21. 24 Aug, 2022 1 commit
  22. 16 Aug, 2022 1 commit
    • Philip Meier's avatar
      Proto transform cleanup (#6408) · c0ba3ec8
      Philip Meier authored
      * fix TenCrop
      
      * use dispatchers for RandomPhotometricDistort
      
      * add convert_color_space dispatcher and use it in conversion transforms
      
      * fix convert_color_space naming scheme
      
      * add to_color_space method to Image feature
      
      * remove TODO from BoundingBox.to_format()
      
      * fix test
      
      * fix imports
      
      * fix passthrough
      
      * remove apply_recursively in favor of pytree
      
      * refactor BatchMultiCrop
      c0ba3ec8
  23. 29 Jul, 2022 1 commit
  24. 22 Jul, 2022 1 commit
  25. 04 Apr, 2022 1 commit
  26. 09 Mar, 2022 1 commit
    • Philip Meier's avatar
      support grayscale / RGB alpha conversions (#5567) · cddad9ca
      Philip Meier authored
      * support grayscale / RGB alpha conversions
      
      * use _max_valu from stable
      
      * remove extra copy for PIL conversion
      
      * simplify test image generation for color spaces with alpha channel
      
      * use common _max_value in tests
      
      * replace dynamically created dicts with if/else
      
      * make color space conversion more explicit
      
      * make even more explicit
      
      * simplify alpha image generation
      
      * fix if / elif
      
      * add error for unknown conversions
      
      * rename RGBA to RGB_ALPHA
      
      * cleanup
      
      * GRAYSCALE to GRAY
      cddad9ca
  27. 05 Mar, 2022 1 commit
  28. 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
  29. 28 Feb, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Replace get_image_size/num_channels with get_dimensions (#5487) · 095437aa
      Vasilis Vryniotis authored
      * Replace get_image_size/num_channels with get_image_dims
      
      * Reduce verbosity
      
      * Fix JIT-scriptability
      
      * Refactoring
      
      * More refactoring
      
      * Replace all _FP/_FT direct calls.
      
      * Remove usages of get_image_size and get_image_num_channels from code-base.
      
      * Fix JIT issues
      
      * Adding missing assertion.
      095437aa
  30. 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
  31. 16 Feb, 2022 1 commit
    • Philip Meier's avatar
      add prototype transforms that use the prototype dispatchers (#5418) · 52e6bd08
      Philip Meier authored
      * add prototype transforms that use the prototype dispatchers
      
      Conflicts:
      	torchvision/prototype/transforms/__init__.py
      
      * simplify
      
      * add logger
      
      * remove legacy classes
      
      Conflicts:
      	torchvision/prototype/transforms/_augment.py
      	torchvision/prototype/transforms/_auto_augment.py
      	torchvision/prototype/transforms/_geometry.py
      
      * make get_params private
      
      * remove randbool method
      
      * remove AutoAugmentDispatcher
      
      * add high level kernels for meta conversion
      
      * remove transforms meta abstraction from auto augment transforms
      
      * appease mypy
      
      * add smoke tests for transforms
      
      * remove Query object
      
      * remove extra_repr helper
      
      * fix tests
      
      * appease mypy
      
      * revert some changes on the kernel tests
      
      * fix dispatcher annotations
      
      * remove float cast for torch.rand
      
      * add helper to query image
      
      * fix imports
      
      * address auto augment comments
      
      * cleanup
      52e6bd08