1. 30 Aug, 2023 1 commit
  2. 22 Aug, 2023 1 commit
  3. 16 Aug, 2023 1 commit
  4. 10 Aug, 2023 1 commit
  5. 09 Aug, 2023 1 commit
  6. 07 Aug, 2023 1 commit
  7. 02 Aug, 2023 1 commit
  8. 16 Feb, 2023 2 commits
  9. 16 Jan, 2023 1 commit
  10. 06 Dec, 2022 1 commit
  11. 05 Dec, 2022 1 commit
  12. 29 Nov, 2022 1 commit
  13. 28 Nov, 2022 1 commit
  14. 25 Oct, 2022 1 commit
  15. 12 Oct, 2022 1 commit
  16. 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
  17. 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
  18. 29 Sep, 2022 1 commit
  19. 23 Sep, 2022 1 commit
  20. 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
  21. 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
  22. 22 Aug, 2022 1 commit
  23. 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
  24. 06 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Added mid-level ops and feature-based ops (#6219) · bd19fb8e
      vfdev authored
      * Added mid-level ops and feature-based ops
      
      * Fixing deadlock in dataloader with circular imports
      
      * Added non-scalar fill support workaround for pad
      
      * Removed comments
      
      * int/float support for fill in pad op
      
      * Updated type hints and removed bypass option from mid-level methods
      
      * Minor nit fixes
      bd19fb8e
  25. 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
  26. 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
  27. 14 Feb, 2022 1 commit
  28. 11 Feb, 2022 1 commit
    • Philip Meier's avatar
      Revamp prototype features and transforms (#5407) · d32bc4ba
      Philip Meier authored
      * revamp prototype features (#5283)
      
      * remove decoding from prototype datasets (#5287)
      
      * remove decoder from prototype datasets
      
      * remove unused imports
      
      * cleanup
      
      * fix readme
      
      * use OneHotLabel in SEMEION
      
      * improve voc implementation
      
      * revert unrelated changes
      
      * fix semeion mock data
      
      * fix pcam
      
      * readd functional transforms API to prototype (#5295)
      
      * readd functional transforms
      
      * cleanup
      
      * add missing imports
      
      * remove __torch_function__ dispatch
      
      * readd repr
      
      * readd empty line
      
      * add test for scriptability
      
      * remove function copy
      
      * change import from functional tensor transforms to just functional
      
      * fix import
      
      * fix test
      
      * fix prototype features and functional transforms after review (#5377)
      
      * fix prototype functional transforms after review
      
      * address features review
      
      * make mypy more strict on prototype features
      
      * make mypy more strict for prototype transforms
      
      * fix annotation
      
      * fix kernel tests
      
      * add automatic feature type dispatch to functional transforms (#5323)
      
      * add auto dispatch
      
      * fix missing arguments error message
      
      * remove pil kernel for erase
      
      * automate feature specific parameter detection
      
      * fix typos
      
      * cleanup dispatcher call
      
      * remove __torch_function__ from transform dispatch
      
      * remove auto-generation
      
      * revert unrelated changes
      
      * remove implements decorator
      
      * change register parameter order
      
      * change order of transforms for readability
      
      * add documentation for __torch_function__
      
      * fix mypy
      
      * inline check for support
      
      * refactor kernel registering process
      
      * refactor dispatch to be a regular decorator
      
      * split kernels and dispatchers
      
      * remove sentinels
      
      * replace pass with ...
      
      * appease mypy
      
      * make single kernel dispatchers more concise
      
      * make dispatcher signatures more generic
      
      * make kernel checking more strict
      
      * revert doc changes
      
      * address Franciscos comments
      
      * remove inplace
      
      * rename kernel test module
      
      * fix inplace
      
      * remove special casing for pil and vanilla tensors
      
      * address comments
      
      * update docs
      
      * cleanup features / transforms feature branch (#5406)
      
      * mark candidates for removal
      
      * align signature of resize_bounding_box with corresponding image kernel
      
      * fix documentation of Feature
      
      * remove interpolation mode and antialias option from resize_segmentation_mask
      
      * remove or privatize functionality in features / datasets / transforms
      d32bc4ba