1. 09 Jul, 2019 1 commit
  2. 08 Jul, 2019 1 commit
  3. 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
  4. 05 Jul, 2019 2 commits
  5. 04 Jul, 2019 5 commits
  6. 03 Jul, 2019 1 commit
  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 5 commits
    • Francisco Massa's avatar
      8616227c
    • Francisco Massa's avatar
      03e25734
    • 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
    • Michael Kösel's avatar
      d38600fe
    • Dmitry Belenko's avatar
      Implementation of the MNASNet family of models (#829) · 69b28578
      Dmitry Belenko authored
      * Add initial mnasnet impl
      
      * Remove all type hints, comply with PyTorch overall style
      
      * Expose models
      
      * Remove avgpool from features() and add separately
      
      * Fix python3-only stuff, replace subclasses with functions
      
      * fix __all__
      
      * Fix typo
      
      * Remove conditional dropout
      
      * Make dropout functional
      
      * Addressing @fmassa's feedback, round 1
      
      * Replaced adaptive avgpool with mean on H and W to prevent collapsing the batch dimension
      
      * Partially address feedback
      
      * YAPF
      
      * Removed redundant class vars
      
      * Update urls to releases
      
      * Add information to models.rst
      
      * Replace init with kaiming_normal_ in fan-out mode
      
      * Use load_state_dict_from_url
      69b28578
  14. 20 Jun, 2019 3 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. 14 Jun, 2019 4 commits
  19. 13 Jun, 2019 1 commit
  20. 12 Jun, 2019 1 commit
    • Leon Bottou's avatar
      Added support for the QMNIST dataset (#995) · ac2e995a
      Leon Bottou authored
      * Added general reader for sn3 tensors in "pascalvincent" format
      
      * Added class QMNIST into mnist.py
      
      * QMNIST dataset: make some pt files smaller
      
      * Change request from fmassa.
      
      * read_sn3_pascalvincent_tensor: cse
      
      * read_sn3_pascalvincent_tensor: check file size (when strict!=False)
      
      * Fix lint
      
      * More lint
      
      * Add documentation and expose QMNIST to dataset namespace
      ac2e995a
  21. 11 Jun, 2019 2 commits