1. 03 Sep, 2020 1 commit
    • Dragos Cristian's avatar
      adjust_hue now supports inputs of type Tensor (#2566) · bb88c452
      Dragos Cristian authored
      
      
      * adjust_hue now supports inputs of type Tensor
      
      * Added comparison between original adjust_hue and its Tensor and torch.jit.script versions.
      
      * Added a few type checkings related to adjust_hue in functional_tensor.py in hopes to make F_t.adjust_hue scriptable...but to no avail.
      
      * Changed implementation of _rgb2hsv and removed useless type declaration according to PR's review.
      
      * Handled the range of hue_factor in the assertions and temporarily increased the assertLess bound to make sure that no other test fails.
      
      * Fixed some lint issues with CircleCI and added type hints in functional_pil.py as well.
      
      * Corrected type hint mistakes.
      
      * Followed PR review recommendations and added test for class interface with hue.
      
      * Refactored test_functional_tensor.py to match vfdev-5's d016cab branch by simple copy/paste and added the test_adjust_hue and ColorJitter class interface test in the same style (class interface test was removed in vfdev-5's branch for some reason).
      
      * Removed test_adjustments from test_transforms_tensor.py and moved the ColorJitter class interface test in test_transforms_tensor.py.
      
      * Added cuda test cases for test_adjustments and tried to fix conflict.
      
      * Updated tests
      - adjust hue
      - color jitter
      
      * Fixes incompatible devices
      
      * Increased tol for cuda tests
      
      * Fixes potential issue with inplace op
      - fixes irreproducible failing test on Travis CI
      
      * Reverted fmod -> %
      Co-authored-by: default avatarvfdev-5 <vfdev.5@gmail.com>
      bb88c452
  2. 02 Sep, 2020 3 commits
  3. 01 Sep, 2020 3 commits
  4. 31 Aug, 2020 1 commit
  5. 28 Aug, 2020 2 commits
  6. 27 Aug, 2020 2 commits
  7. 26 Aug, 2020 1 commit
  8. 25 Aug, 2020 3 commits
  9. 24 Aug, 2020 3 commits
  10. 21 Aug, 2020 3 commits
  11. 20 Aug, 2020 4 commits
  12. 14 Aug, 2020 1 commit
  13. 11 Aug, 2020 1 commit
  14. 08 Aug, 2020 1 commit
  15. 07 Aug, 2020 2 commits
    • vfdev's avatar
      [BC-breaking] Unified input for F.perspective (#2558) · 8c7e7bb0
      vfdev authored
      * [WIP] Added unified input perspective transformation code
      
      * Unified input for F.perspective
      - added tests
      - updated docs
      
      * Added more random test configs
      
      * Fixed the code according to PR's review
      8c7e7bb0
    • vfdev's avatar
      Unified inputs for `T.RandomRotation` (#2496) · 08af5cb5
      vfdev authored
      * Added code for F_t.rotate with test
      - updated F.affine tests
      
      * Rotate test tolerance to 2%
      
      * Fixes failing test
      
      * [WIP] RandomRotation
      
      * Unified RandomRotation with tests
      08af5cb5
  16. 06 Aug, 2020 1 commit
    • vfdev's avatar
      Fixes F.affine and F.rotate to support rectangular tensor images (#2553) · 025b71d8
      vfdev authored
      * Added code for F_t.rotate with test
      - updated F.affine tests
      
      * Rotate test tolerance to 2%
      
      * Fixes failing test
      
      * Optimized _expanded_affine_grid with a single matmul op
      
      * Recoded _compute_output_size
      
      * [WIP] recoded F_t.rotate internal methods
      
      * [WIP] Fixed F.affine to support rectangular images
      
      * Recoded _gen_affine_grid to optimized version ~ affine_grid
      - Fixes flake8
      
      * [WIP] Use _gen_affine_grid for affine and rotate
      
      * Fixed tests on square / rectangular images for affine and rotate ops
      
      * Removed redefinition of F.rotate
      - due to bad merge
      025b71d8
  17. 05 Aug, 2020 1 commit
    • vfdev's avatar
      Unified inputs for `F.rotate` (#2495) · 76662528
      vfdev authored
      * Added code for F_t.rotate with test
      - updated F.affine tests
      
      * Rotate test tolerance to 2%
      
      * Fixes failing test
      
      * Optimized _expanded_affine_grid with a single matmul op
      
      * Recoded _compute_output_size
      76662528
  18. 04 Aug, 2020 2 commits
    • Edgar Andrés Margffoy Tuay's avatar
      PR: Add UCF101 dataset tests (#2548) · 23295fbb
      Edgar Andrés Margffoy Tuay authored
      * Add fake data generator for UCF101
      
      * Minor error correction
      
      * Reduce total number of categories
      
      * Fix naming
      
      * Increase length
      
      * Store in uint8
      
      * Close fds
      
      * Add assertGreater
      
      * Add dimension tests
      
      * Use numel instead of size
      
      * Iterate over folds and splits
      23295fbb
    • 江胤佐's avatar
      fix type hints and spelling mistake in generalized_rcnn and poolers (#2550) · c2bbefc2
      江胤佐 authored
      * fix type hints and move degenerate boxes to a function in torchvision.models.detection.generalized_rcnn
      
      * format code
      
      * format code
      
      * changed to static method
      
      * revert imports
      
      * changed to method
      
      * revert procedure for degenerating boxes
      c2bbefc2
  19. 03 Aug, 2020 5 commits