1. 27 Jan, 2020 1 commit
    • abdjava's avatar
      Fixed typo in comments (#1784) · 035ed162
      abdjava authored
      I have fixed a typo that was persent in the Normalize class changed line 150 from     ``input[channel] = (input[channel] - mean[channel]) / std[channel]`` to     ``output[channel] = (input[channel] - mean[channel]) / std[channel]``
      035ed162
  2. 22 Jan, 2020 1 commit
    • Philip Meier's avatar
      Fix fill in rotate (#1760) · 8f4f8d89
      Philip Meier authored
      * initial fix
      
      * outsourced num bands lookup
      
      * fix doc
      
      * added pillow version requirement
      
      * simplify number of bands extraction
      
      * remove unrelated change
      
      * remove indirect dependency on pillow>=5.2.0
      
      * extend docstring to transform
      
      * bug fix
      
      * added test
      8f4f8d89
  3. 24 Sep, 2019 1 commit
    • Zhicheng Yan's avatar
      Video transforms (#1353) · 64917bcc
      Zhicheng Yan authored
      * video transforms
      
      * [video transforms]in ToTensorVideo, divide value by 255.0
      
      * [video transforms] fix a bug
      
      * fix linting
      
      * Make changes backwards-compatible
      64917bcc
  4. 11 Sep, 2019 1 commit
  5. 30 Aug, 2019 1 commit
  6. 06 Jul, 2019 1 commit
    • Zhun Zhong's avatar
      Fix bug to RandomErasing (#1095) · 34833427
      Zhun Zhong authored
      * Fix bug to Random Erasing
      
      1. Avoid forever loop for getting parameters of erase.
      2. replace' img_b' by 'img_c', because it indicates the channel.
      3. replace v = torch.rand([img_c, h, w]) by v = torch.empty([img_c, h, w], dtype=torch.float32).normal_(). Normally distributed achieves better performance.
      
      * add test
      
      * Update test_transforms.py
      
      * Update transforms.py
      
      * Update test_transforms.py
      
      * Update transforms.py
      
      * Update functional.py
      34833427
  7. 04 Jul, 2019 1 commit
    • ekka's avatar
      Minor optimization to RandomErasing (#1087) · 793c4e82
      ekka authored
      * Minor optimization to RandomErasing
      
      This PR adds an additional check on `p` argument and prevents computing `img.shape` multiple times.
      
      * linting
      793c4e82
  8. 03 Jul, 2019 1 commit
  9. 28 Jun, 2019 2 commits
  10. 24 Jun, 2019 1 commit
    • 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
  11. 20 Jun, 2019 1 commit
  12. 05 Jun, 2019 1 commit
  13. 21 May, 2019 1 commit
  14. 06 May, 2019 1 commit
  15. 02 May, 2019 1 commit
  16. 25 Apr, 2019 1 commit
  17. 09 Apr, 2019 1 commit
  18. 25 Mar, 2019 1 commit
    • ekka's avatar
      Add AffineTransformation (#793) · c88d7fb5
      ekka authored
      * Add Affinetransformation
      
      Add Affinetransformation to superseed LinearTransformation
      
      * Add test
      
      * Add zero mean_vector in LinearTransformation and improved docs
      
      * update
      
      * minor fix
      
      * minor fix2
      
      * fixed flake8
      
      * fix flake8
      
      * fixed transpose syntax
      
      * fixed shape of mean_vector in test
      
      * fixed test
      
      * print est cov and mean
      
      * fixed flake8
      
      * debug
      
      * reduce num_samples
      
      * debug
      
      * fixed num_features
      
      * fixed rtol for cov
      
      * fix __repr__
      
      * Update transforms.py
      
      * Update test_transforms.py
      
      * Update transforms.py
      
      * fix flake8
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Update transforms.py
      
      * Changed dim of mean_vector to 1D, doc and removed .numpy () from format_string
      
      * Restore test_linear_transformation()
      
      * Update test_transforms.py
      c88d7fb5
  19. 20 Mar, 2019 1 commit
  20. 11 Mar, 2019 2 commits
  21. 18 Feb, 2019 1 commit
  22. 08 Jan, 2019 1 commit
    • surgan12's avatar
      Doc changes (#711) · 8f0ef5a7
      surgan12 authored
      * doc change
      
      * doc changes
      
      * lint_checks
      
      * Update transforms.py
      8f0ef5a7
  23. 30 Dec, 2018 1 commit
    • surgan12's avatar
      normalise updates (#699) · 21153802
      surgan12 authored
      * normalise
      
      * some changes
      
      * Update functional.py
      
      * Update functional.py
      
      * code changes
      21153802
  24. 20 Dec, 2018 1 commit
  25. 18 Dec, 2018 1 commit
  26. 26 Oct, 2018 1 commit
  27. 25 Oct, 2018 1 commit
  28. 24 Oct, 2018 1 commit
  29. 11 Sep, 2018 1 commit
  30. 02 Aug, 2018 1 commit
  31. 31 Jul, 2018 1 commit
  32. 30 Jul, 2018 1 commit
    • yaox12's avatar
      ColorJitter Enhancement (#548) · b51a2c31
      yaox12 authored
      * ColorJitter Enhancement
      
      * reduce redundancy
      
      * improve functional
      
      * check input in init
      
      * fix ci fail
      b51a2c31
  33. 23 Jul, 2018 1 commit
  34. 14 Jun, 2018 1 commit
  35. 27 May, 2018 1 commit
  36. 24 May, 2018 3 commits