1. 09 Jul, 2019 1 commit
  2. 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
  3. 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
  4. 03 Jul, 2019 1 commit
  5. 28 Jun, 2019 2 commits
  6. 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
  7. 20 Jun, 2019 2 commits
  8. 14 Jun, 2019 2 commits
  9. 05 Jun, 2019 1 commit
  10. 21 May, 2019 1 commit
  11. 14 May, 2019 1 commit
  12. 06 May, 2019 1 commit
  13. 02 May, 2019 1 commit
  14. 25 Apr, 2019 1 commit
  15. 09 Apr, 2019 1 commit
  16. 29 Mar, 2019 1 commit
  17. 26 Mar, 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. 24 Mar, 2019 1 commit
  20. 20 Mar, 2019 1 commit
  21. 11 Mar, 2019 2 commits
  22. 09 Mar, 2019 1 commit
  23. 26 Feb, 2019 1 commit
  24. 18 Feb, 2019 1 commit
  25. 08 Jan, 2019 1 commit
    • surgan12's avatar
      Doc changes (#711) · 8f0ef5a7
      surgan12 authored
      * doc change
      
      * doc changes
      
      * lint_checks
      
      * Update transforms.py
      8f0ef5a7
  26. 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
  27. 20 Dec, 2018 1 commit
  28. 18 Dec, 2018 1 commit
  29. 17 Dec, 2018 1 commit
    • surgan12's avatar
      modes added (#688) · be6f6c29
      surgan12 authored
      * modes added
      
      * tests_added
      
      * Update test_transforms.py
      
      * Update test_transforms.py
      
      * Update test_transforms.py
      be6f6c29
  30. 14 Dec, 2018 1 commit
  31. 13 Dec, 2018 1 commit
  32. 04 Dec, 2018 1 commit
    • Varun Agrawal's avatar
      Fix for #409 (#673) · 2d493d6a
      Varun Agrawal authored
      * added separate checks for dimensionality in to_pil_image and added tests
      
      * updated to_pil_image to use both 2D ndarrays and tensors, as well as refactored the tests
      2d493d6a
  33. 02 Nov, 2018 1 commit
  34. 26 Oct, 2018 1 commit
  35. 25 Oct, 2018 1 commit
  36. 24 Oct, 2018 1 commit