1. 08 Feb, 2022 1 commit
  2. 02 Feb, 2022 1 commit
  3. 28 Jan, 2022 1 commit
  4. 24 Jan, 2022 1 commit
  5. 21 Dec, 2021 1 commit
    • Kai Zhang's avatar
      Add api usage log to transforms (#5007) · 55f7faf3
      Kai Zhang authored
      * add api usage log to functional transforms
      
      * add log to transforms
      
      * fix for scriptablity
      
      * skip Compose for scriptability
      
      * follow the new policy
      
      * torchscriptbility
      
      * adopt new API
      
      * make Compose scriptable
      
      * move from __call__ to __init__
      55f7faf3
  6. 29 Nov, 2021 2 commits
    • Vasilis Vryniotis's avatar
      Fix bug on autocontrast when `min==max` (#4999) · 48b82c11
      Vasilis Vryniotis authored
      * Fix bug on autocontrast when `min==max`
      
      * Adding PIL vs TorchVision test for min==max
      48b82c11
    • puhuk's avatar
      Update functional_tensor.py (#4852) · 1c9ccb7b
      puhuk authored
      
      
      * Update functional_tensor.py
      
      To resolve issue #4818
      Add assert function and logic after checking bound of image
      
      * Update functional_tensor.py
      
      * Update test
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Update test_functional_tensor.py
      
      * Fix linter
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      1c9ccb7b
  7. 02 Nov, 2021 1 commit
  8. 01 Nov, 2021 1 commit
  9. 28 Oct, 2021 1 commit
  10. 27 Oct, 2021 1 commit
    • Nicolas Hug's avatar
      Remove p-value checks in test_transforms.py (#4756) · b621e38e
      Nicolas Hug authored
      * Change test_random_apply
      
      * Change test_random_choice
      
      * Change test_randomness
      
      * took care of RandomVert/HorizFlip
      
      * take care of RandomGrayScale
      
      * minor cleanup
      
      * avoid 0 degree rotation just in case
      b621e38e
  11. 08 Oct, 2021 1 commit
  12. 04 Oct, 2021 1 commit
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      Philip Meier authored
      
      
      * add ufmt as code formatter
      
      * cleanup
      
      * quote ufmt requirement
      
      * split imports into more groups
      
      * regenerate circleci config
      
      * fix CI
      
      * clarify local testing utils section
      
      * use ufmt pre-commit hook
      
      * split relative imports into local category
      
      * Revert "split relative imports into local category"
      
      This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51.
      
      * pin black and usort dependencies
      
      * fix local test utils detection
      
      * fix ufmt rev
      
      * add reference utils to local category
      
      * fix usort config
      
      * remove custom categories sorting
      
      * Run pre-commit without fixing flake8
      
      * got a double import in merge
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  13. 28 Sep, 2021 1 commit
  14. 27 Sep, 2021 1 commit
    • Loi Ly's avatar
      Added gray image support to `adjust_saturation` function (#4480) · f483e71b
      Loi Ly authored
      * update channels parameter to every calling to check_functional_vs_PIL_vs_scripted
      
      * update adjust_saturation
      
      * update docstrings for functional transformations
      
      * parametrize channels
      
      * update docstring of ColorJitter class
      
      * move channels to class's parameter
      
      * remove testing channels for geometric transforms
      
      * revert redundant changes
      
      * revert redundant changes
      
      * update grayscale test cases for randaugment, autoaugment, trivialaugment
      
      * update docstrings of randaugment, autoaugment, trivialaugment
      
      * update docstring of ColorJitter
      
      * fix adjust_hue's docstring
      
      * change test equal tolerance
      
      * refactor grayscale tests
      
      * make get_grayscale_test_image private
      f483e71b
  15. 24 Sep, 2021 1 commit
  16. 22 Sep, 2021 1 commit
  17. 15 Sep, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Adding Mixup and Cutmix (#4379) · c8e3b2a5
      Vasilis Vryniotis authored
      * Add RandomMixupCutmix.
      
      * Add test with real data.
      
      * Use dataloader and collate in the test.
      
      * Making RandomMixupCutmix JIT scriptable.
      
      * Move out label_smoothing and try roll instead of flip
      
      * Adding mixup/cutmix in references script.
      
      * Handle one-hot encoded target in accuracy.
      
      * Add support of devices on tests.
      
      * Separate Mixup from Cutmix.
      
      * Add check for floats.
      
      * Adding device on expect value.
      
      * Remove hardcoded weights.
      
      * One-hot only when necessary.
      
      * Fix linter.
      
      * Moving mixup and cutmix to references.
      
      * Final code clean up.
      c8e3b2a5
  18. 06 Sep, 2021 2 commits
  19. 05 Sep, 2021 1 commit
  20. 02 Sep, 2021 2 commits
  21. 31 Aug, 2021 1 commit
  22. 26 Aug, 2021 1 commit
  23. 18 Aug, 2021 1 commit
  24. 16 Aug, 2021 2 commits
  25. 28 Jul, 2021 1 commit
  26. 30 Jun, 2021 1 commit
  27. 18 Jun, 2021 1 commit
  28. 21 May, 2021 1 commit
  29. 20 May, 2021 1 commit
  30. 17 May, 2021 1 commit
  31. 13 May, 2021 1 commit
  32. 11 May, 2021 1 commit
  33. 10 May, 2021 1 commit
    • vfdev's avatar
      Added antialias option to transforms.functional.resize (#3761) · b56f17ae
      vfdev authored
      * WIP Added antialias option to transforms.functional.resize
      
      * Updates according to the review
      
      * Excluded these C++ files for iOS build
      
      * Added support for mixed downsampling/upsampling
      
      * Fixed heap overflow caused by explicit loop unrolling
      
      * Applied PR review suggestions
      - used pytest parametrize instead unittest
      - cast to scalar_t ptr
      - removed interpolate aa files for ios/android keeping original cmake version
      b56f17ae
  34. 27 Apr, 2021 2 commits
  35. 21 Apr, 2021 1 commit