1. 09 Apr, 2019 1 commit
  2. 25 Mar, 2019 2 commits
    • Francisco Massa's avatar
      Add basic model testing. (#811) · 57e87769
      Francisco Massa authored
      * Add basic model testing.
      
      Also fixes flaky test
      
      * Fix flake8
      57e87769
    • 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
  3. 18 Feb, 2019 1 commit
  4. 13 Feb, 2019 1 commit
  5. 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
  6. 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
  7. 25 Aug, 2018 1 commit
  8. 28 May, 2018 1 commit
  9. 15 May, 2018 1 commit
  10. 16 Apr, 2018 1 commit
  11. 06 Apr, 2018 1 commit
    • anguelos's avatar
      A minor change for transforms.RandomCrop (#462) · 4e6faa75
      anguelos authored
      * Made transorms.RandomCrop tolerate images smaller than the given size.
      
      * Extended the tescase for transforms.RandomCrop
      
      * Made the testcase test for owidth=width+1
      
      * Fixed the one pixel pading and the testcase
      
      * Fixed minor lintint errors. flake8 passes.
      4e6faa75
  12. 04 Apr, 2018 1 commit
  13. 20 Feb, 2018 1 commit
  14. 12 Feb, 2018 3 commits
  15. 01 Jan, 2018 1 commit
  16. 13 Nov, 2017 1 commit
  17. 09 Nov, 2017 1 commit
  18. 02 Nov, 2017 1 commit
  19. 17 Oct, 2017 1 commit
    • Alykhan Tejani's avatar
      Add mode to ToPILImage constructor (#300) · 901c1ad2
      Alykhan Tejani authored
      * add assert for byte tensor to_pil_image
      
      * add mode param to ToPILImage
      
      * add some more tests
      
      * fix formatiing on error messages
      
      * added tests for to_pil_image with mode param
      
      * flake8 fixes
      901c1ad2
  20. 15 Oct, 2017 1 commit
  21. 13 Oct, 2017 1 commit
  22. 12 Oct, 2017 1 commit
  23. 07 Oct, 2017 1 commit
    • Iacopo Poli's avatar
      Added Whiten transform and its section in README (#263) · cee28367
      Iacopo Poli authored
      * added Whiten transform and relative section in README
      
      * added Whiten transform and its section in README
      
      * fixed lint
      
      * fixed lint again
      
      * added linear transformation and whitening test unitary covariance
      
      * fixed lint and test
      
      * commit before rebasing
      
      * before rebase
      
      * added assertion to check matrix size
      
      * fix readme
      
      * added space around operator
      
      * replace assert with raise ValueError, fix spaces and readme
      cee28367
  24. 05 Oct, 2017 1 commit
  25. 04 Oct, 2017 1 commit
    • Sasank Chilamkurthy's avatar
      Add Color transforms (#275) · 618072bf
      Sasank Chilamkurthy authored
      * Add adjust_hue and adjust_saturation
      
      * Add adjust_brightness, adjust_contrast
      
      Also
      * Change adjust_saturation to use pillow implementation
      * Documentation made clear
      
      * Add adjust_gamma
      
      * Add ColorJitter
      
      * Address review comments
      
      * Fix documentation for ColorJitter
      
      * Address review comments 2
      
      * Fallback to adjust_hue in case of BW images
      
      * Add tests
      
      * fix dtype
      618072bf
  26. 01 Oct, 2017 1 commit
  27. 26 Sep, 2017 3 commits
  28. 16 Sep, 2017 1 commit
  29. 12 Sep, 2017 1 commit
  30. 08 Sep, 2017 1 commit
  31. 03 Sep, 2017 1 commit
  32. 21 Apr, 2017 1 commit
  33. 17 Apr, 2017 1 commit
  34. 06 Apr, 2017 1 commit
    • Huan Yang's avatar
      Add support for Transforms.Scale([w, h]) with specific width and height (#133) · f6d49d8b
      Huan Yang authored
      * Fixed border missing on bottom and right side using make_grid
      
      * Add support for Transforms.Scale([h, w]) with specific height and width
      
      if self.size is a int then scale the image with the shorter side,
      otherwise if self.size is a list then scale the image to self.size
      directly
      
      * Add assert of size and doc for README
      
      Add assert of size and doc for README
      
      * Fix linter problem
      
      Fix linter problem
      
      * Add test for Scale
      
      Add test for Scale
      
      * Add both tuple and list support for Scale.size
      
      Add both tuple and list support for Scale.size
      
      * Add order of Scale.size in document and test case for list type of Scale.size
      
      Add order of Scale.size in document and test case for list type of
      Scale.size
      f6d49d8b
  35. 23 Mar, 2017 1 commit