1. 09 Jul, 2019 1 commit
  2. 08 Jul, 2019 1 commit
  3. 06 Jul, 2019 2 commits
    • 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
    • Shahriar's avatar
      Added c++ introduction in readme (#1098) · 957f5145
      Shahriar authored
      957f5145
  4. 05 Jul, 2019 2 commits
  5. 04 Jul, 2019 6 commits
  6. 03 Jul, 2019 2 commits
  7. 02 Jul, 2019 2 commits
    • yaysummeriscoming's avatar
      Fixed width multiplier (#1005) · 8350645b
      yaysummeriscoming authored
      * Fixed width multiplier
      
      Layer channels are now rounded to a multiple of 8, as per the official tensorflow implementation.  I found this fix when looking through: https://github.com/d-li14/mobilenetv2.pytorch
      
      * Channel multiple now a user configurable option
      
      The official tensorflow slim mobilenet v2 implementation rounds the number of channels in each layer to a multiple of 8.  This is now user configurable - 1 turns off rounding
      
      * Fixed whitespace error
      
      Fixed error: ./torchvision/models/mobilenet.py:152:1: W293 blank line contains whitespace
      8350645b
    • Francisco Massa's avatar
      Adds video reading / saving functionalities (#1039) · d293c4c5
      Francisco Massa authored
      * WIP
      
      * WIP
      
      * Add some documentation
      
      * Improve tests and add GC collection
      
      * [WIP] add timestamp getter
      
      * Bugfixes
      
      * Improvements and travis
      
      * Add audio fine-grained alignment
      
      * More doc
      
      * Remove unecessary file
      
      * Remove comment
      
      * Lazy import av
      
      * Remove hard-coded constants for the test
      
      * Return info stats from read
      
      * Fix for Python-2
      d293c4c5
  8. 01 Jul, 2019 1 commit
  9. 29 Jun, 2019 1 commit
  10. 28 Jun, 2019 2 commits
  11. 26 Jun, 2019 3 commits
  12. 25 Jun, 2019 1 commit
  13. 24 Jun, 2019 7 commits
  14. 20 Jun, 2019 4 commits
  15. 19 Jun, 2019 1 commit
    • philipNoonan's avatar
      Enabling exporting symbols on windows (#1035) · f6262182
      philipNoonan authored
      * Enabling exporting symbols on windows
      
      Small fix to allow for the built library to be used in windows #728
      
      * added macro to allow for exported symbols on windows
      
      * added macro to allow for exported symbols on windows
      
      * removed cmake command
      
      * added dllimport using torchvision_EXPORTS preprocessor
      f6262182
  16. 18 Jun, 2019 1 commit
  17. 17 Jun, 2019 1 commit
  18. 15 Jun, 2019 1 commit
    • Philip Meier's avatar
      Add a generic test for the datasets (#1015) · 3c81d474
      Philip Meier authored
      * added a generic test for the datasets
      
      * addressed requested changes
      
      - renamed generic*() to generic_classification*()
      - moved function inside Tester
      - test class_to_idx attribute outside of generic_classification*()
      3c81d474
  19. 14 Jun, 2019 1 commit
    • LXYTSOS's avatar
      utils.py in references can't work with pytorch-cpu (#1023) · 250bac89
      LXYTSOS authored
      * can't work with pytorch-cpu fixed
      
      utils.py can't work with pytorch-cpu because of this line of code `memory=torch.cuda.max_memory_allocated()`
      
      * can't work with pytorch-cpu fixed
      
      utils.py can't work with pytorch-cpu because of this line of code 'memory=torch.cuda.max_memory_allocated()'
      250bac89