1. 24 Feb, 2023 5 commits
  2. 23 Feb, 2023 2 commits
  3. 21 Feb, 2023 2 commits
  4. 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
  5. 18 Feb, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding AugMix implementation (#5411) · 48a61df2
      Vasilis Vryniotis authored
      
      
      * Adding basic augmix implementation.
      
      * Finish the implementation.
      
      * Add tests and documentation.
      
      * Fix tests.
      
      * Simplify code.
      
      * Speed optimizations.
      
      * Per image weights instead of per batch.
      
      * Fix tests.
      
      * Update torchvision/transforms/autoaugment.py
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      
      * Changing the default severity value to get by default the same strength as RandAugment.
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      48a61df2
  6. 08 Feb, 2022 1 commit
  7. 01 Nov, 2021 1 commit
  8. 07 Oct, 2021 1 commit
  9. 06 Sep, 2021 1 commit
  10. 02 Sep, 2021 1 commit
  11. 31 Aug, 2021 1 commit
  12. 10 May, 2021 1 commit
  13. 07 May, 2021 1 commit
  14. 08 Apr, 2021 1 commit
  15. 10 Mar, 2021 1 commit
  16. 16 Oct, 2020 1 commit
  17. 07 Oct, 2020 2 commits
    • vfdev's avatar
      Added tensor transforms jupyter notebook (#2730) · 6eff0a43
      vfdev authored
      * [WIP] Added scriptable transforms python example
      
      * Replaced script file with jupyter notebook
      
      * Updated readme
      
      * Updates according to review
      + updated docstrings
      
      * Updated notebook and docstring according to the review
      
      * torch script -> torchscript
      6eff0a43
    • Tejan Karmali's avatar
      Added GaussianBlur transform (#2658) · 4106dbb8
      Tejan Karmali authored
      
      
      * Added GaussianBlur transform
      
      * fixed linting
      
      * supports fixed radius for kernel
      
      * [WIP] New API for gaussian_blur
      
      * Gaussian blur with kernelsize and sigma API
      
      * Fixed implementation and updated tests
      
      * Added large input case and refactored gt into a file
      
      * Updated docs
      
      * fix kernel dimesnions order while creating kernel
      
      * added tests for exception handling of gaussian blur
      
      * fix linting, bug in tests
      
      * Fixed failing tests, refactored code and other minor fixes
      Co-authored-by: default avatarvfdev-5 <vfdev.5@gmail.com>
      4106dbb8
  18. 05 Oct, 2020 1 commit
  19. 23 Sep, 2020 1 commit
    • vfdev's avatar
      Normalize, LinearTransformation are scriptable (#2645) · 1b415254
      vfdev authored
      * [WIP] All transforms are now derived from torch.nn.Module
      - Compose, RandomApply, Normalize can be jit scripted
      
      * Fixed flake8
      
      * Updated code and docs
      - added getattr to Lambda and tests
      - updated code and docs of Compose
      - added failing test with append/extend on Composed.transforms
      
      * Fixed flake8
      
      * Updated code, tests and docs
      1b415254
  20. 18 Sep, 2020 1 commit
    • vfdev's avatar
      Added tests on batch of tensors to check transforms (#2584) · c4dcfb06
      vfdev authored
      * [WIP] Added tests on batch of tensors
      
      * Updated tests on batch of images
      
      * All functional transforms can work with (..., C, H, W) format
      
      * Added transforms tests on batch tensors
      
      * Added batch tests for five/ten crop
      - updated docs
      c4dcfb06
  21. 02 Oct, 2019 1 commit
  22. 24 Jun, 2019 2 commits
    • Zhun Zhong's avatar
      transforms: add Random Erasing for image augmentation (#909) · 3254560b
      Zhun Zhong authored
      * add erase function
      
      * add Random Erasing
      
      * Update transforms.py
      
      * Update transforms.py
      
      * add test for random erasing
      
      * Update test_transforms.py
      
      * fix flake8
      
      * Update test_transforms.py
      
      * Update functional.py
      
      * Update test_transforms.py
      
      * fix bug for per-pixel erasing
      
      * Update transforms.py
      
      * specific for coordinate (x, y)
      
      * add raise TypeError for img
      
      * Update transforms.py
      
      * Update transforms.rst
      3254560b
    • Adrian Campos's avatar
      Corrected typo: 5 to 0.5 (#1041) · 12fab3a2
      Adrian Campos authored
      Values from random.random() are always in the range [0.0, 1.0), so the statement `random.random() > 5` will never be true.
      12fab3a2
  23. 01 May, 2019 1 commit
  24. 13 Dec, 2018 1 commit
    • surgan12's avatar
      docs changed (#685) · 0ce81569
      surgan12 authored
      * pad updated
      
      * checked pad
      
      * pad checked
      
      * pad checked
      
      * docs changed
      0ce81569
  25. 13 Sep, 2018 1 commit
  26. 15 May, 2018 1 commit
  27. 07 Apr, 2018 1 commit
  28. 27 Mar, 2018 1 commit
  29. 07 Dec, 2017 1 commit
  30. 17 Nov, 2017 1 commit
  31. 08 Oct, 2017 1 commit
  32. 07 Oct, 2017 1 commit
    • Sasank Chilamkurthy's avatar
      Fix transforms documentation. · 4e9c5c96
      Sasank Chilamkurthy authored
      PIL.Image is renamed to 'PIL Image' because PIL.Image is the module and PIL.Image.Image is the class we are referring but is too long to put in docstrings
      4e9c5c96