1. 16 Feb, 2023 2 commits
  2. 15 Feb, 2023 2 commits
  3. 13 Feb, 2023 1 commit
  4. 10 Feb, 2023 1 commit
  5. 27 Jan, 2023 2 commits
  6. 26 Jan, 2023 1 commit
  7. 16 Jan, 2023 1 commit
  8. 05 Jan, 2023 1 commit
  9. 05 Dec, 2022 1 commit
  10. 07 Nov, 2022 1 commit
    • Philip Meier's avatar
      add a signature consistency tests for v1 vs. v2 dispatchers (#6914) · f30a92f1
      Philip Meier authored
      * add a signature consistency tests for v1 vs. v2 dispatchers
      
      * temporarily increase test verbosity
      
      * Revert "temporarily increase test verbosity"
      
      This reverts commit 468c73f727af8dde8a2a3cc3063fd64923c50f63.
      
      * fix test to allow annotation deviations
      
      * fill <-> center for rotate
      
      * ignore annotation changes for center / translate in rotate / affine
      f30a92f1
  11. 04 Nov, 2022 2 commits
  12. 17 Oct, 2022 1 commit
  13. 07 Oct, 2022 1 commit
  14. 06 Oct, 2022 1 commit
  15. 30 Sep, 2022 3 commits
  16. 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
  17. 23 Sep, 2022 1 commit
  18. 21 Sep, 2022 1 commit
  19. 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
  20. 26 Aug, 2022 1 commit
  21. 24 Aug, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Eliminate runtime cyclic dependencies (#6476) · 39fe34a2
      Vasilis Vryniotis authored
      * Move imports on constructor.
      
      * Turn `_F` to a property.
      
      * fix linter
      
      * Fix mypy
      
      * Make it class-wide attribute.
      
      * Add tests based on code review
      
      * Making changes from code-reviews.
      
      * Remove the new tests.
      
      * Clean up.
      
      * Adding comments.
      
      * Update the comment link.
      39fe34a2
  22. 23 Aug, 2022 1 commit
  23. 09 Aug, 2022 1 commit
  24. 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
  25. 22 Jul, 2022 1 commit
  26. 11 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Added some transformations and fixed type hints (#6245) · 9effc4cd
      vfdev authored
      * Another attempt to add transforms
      
      * Fixed padding type hint
      
      * Fixed fill arg for pad and rotate, affine
      
      * code formatting and type hints for affine transformation
      
      * Fixed flake8
      
      * Updated tests to save and load transforms
      
      * Fixed code formatting issue
      
      * Fixed jit loading issue
      
      * Restored fill default value to None
      Updated code according to the review
      
      * Added tests for rotation, affine and zoom transforms
      
      * Put back commented code
      
      * Random erase bypass boxes and masks
      Go back with if-return/elif-return/else-return
      
      * Fixed acceptable and non-acceptable types for Cutmix/Mixup
      
      * Updated conditions for _BaseMixupCutmix
      9effc4cd
  27. 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
  28. 28 Apr, 2022 1 commit
  29. 03 Mar, 2022 1 commit
  30. 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
  31. 09 Feb, 2022 1 commit
  32. 01 Dec, 2021 1 commit
  33. 17 Nov, 2021 1 commit
  34. 04 Nov, 2021 1 commit
    • Philip Meier's avatar
      add prototype features (#4721) · fe78a8ae
      Philip Meier authored
      * add prototype features
      
      * add some JIT tests
      
      * refactor input data handling
      
      * refactor tests
      
      * cleanup tests
      
      * add BoundingBox feature
      
      * mypy
      
      * xfail torchscript tests for now
      
      * cleanup
      
      * fix imports
      fe78a8ae