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. 03 Jul, 2019 1 commit
  4. 28 Jun, 2019 2 commits
  5. 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
  6. 20 Jun, 2019 1 commit
    • Geovanni Zhang's avatar
      fix:error message of to_tensor (#1000) · ae2cb6ec
      Geovanni Zhang authored
      * fix:error message of to_tensor
      
      The error "pic should be PIL Image or ndarray. Got '<numpy.ndarray>'" is confusing.
      
      * fix:a clearer function name
      
      _is_numpy_image is clearer than _is_numpy_image_dim
      
      * fix:add a test case
      
      Add a test case in test/test_transforms.py to test the error message
      
      * fix:pass ci check
      
      * fix:wrong random matrix
      ae2cb6ec
  7. 14 Jun, 2019 2 commits
  8. 14 May, 2019 1 commit
  9. 25 Apr, 2019 1 commit
  10. 29 Mar, 2019 1 commit
  11. 26 Mar, 2019 1 commit
  12. 24 Mar, 2019 1 commit
  13. 09 Mar, 2019 1 commit
  14. 26 Feb, 2019 1 commit
  15. 18 Feb, 2019 1 commit
  16. 08 Jan, 2019 1 commit
    • surgan12's avatar
      Doc changes (#711) · 8f0ef5a7
      surgan12 authored
      * doc change
      
      * doc changes
      
      * lint_checks
      
      * Update transforms.py
      8f0ef5a7
  17. 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
  18. 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
  19. 14 Dec, 2018 1 commit
  20. 13 Dec, 2018 1 commit
  21. 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
  22. 02 Nov, 2018 1 commit
  23. 25 Oct, 2018 1 commit
  24. 11 Sep, 2018 1 commit
  25. 23 Jul, 2018 1 commit
  26. 28 May, 2018 1 commit
  27. 27 May, 2018 1 commit
  28. 26 May, 2018 1 commit
  29. 24 May, 2018 1 commit
  30. 15 May, 2018 1 commit
  31. 16 Apr, 2018 1 commit
  32. 04 Apr, 2018 1 commit
  33. 27 Mar, 2018 1 commit
  34. 20 Feb, 2018 2 commits
  35. 14 Feb, 2018 1 commit
  36. 12 Feb, 2018 1 commit
  37. 30 Jan, 2018 1 commit