1. 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
  2. 01 Jul, 2019 1 commit
  3. 29 Jun, 2019 1 commit
  4. 28 Jun, 2019 2 commits
  5. 26 Jun, 2019 3 commits
  6. 25 Jun, 2019 1 commit
  7. 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
  8. 20 Jun, 2019 3 commits
  9. 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
  10. 18 Jun, 2019 1 commit
  11. 17 Jun, 2019 1 commit
  12. 14 Jun, 2019 4 commits
  13. 13 Jun, 2019 1 commit
  14. 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
  15. 11 Jun, 2019 4 commits
    • ekka's avatar
      Refactor Segmentation model (#1009) · 2f64dd90
      ekka authored
      This PR uses a protected method for loading and initializing the segmentation models. Relevant #875
      2f64dd90
    • Dougal J. Sutherland's avatar
      CelebA: track attr names, support split="all", code cleanup (#1008) · e4e167a3
      Dougal J. Sutherland authored
      * CelebA: track attr names, support split="all", code cleanup
      
      * fix typo
      e4e167a3
    • Shahriar's avatar
      C++ Models (#728) · b5db97b4
      Shahriar authored
      * Added the existing code
      
      * Added squeezenet and fixed some stuff in the other models
      
      * Wrote DenseNet and a part of InceptionV3
      
      Going to clean and check all of the models and finish inception
      
      * Fixed some errors in the models
      
      Next step is writing inception and comparing with python code again.
      
      * Completed inception and changed models directory
      
      * Fixed and wrote some stuff
      
      * fixed maxpoool2d and avgpool2d and adaptiveavgpool2d
      
      * Fixed a few stuff
      
      Moved cmakelists to root and changed the namespace to vision and wrote weight initialization in inception
      
      * Added models namespace and changed cmakelists
      
      the project is now installable
      
      * Removed some comments
      
      * Changed style to pytorch style, added some comments and fixed some minor errors
      
      * Removed truncated normal init
      
      * Changed classes to structs and fixed a few errors
      
      * Replaced modelsimpl structs with functional wherever possible
      
      * Changed adaptive average pool from struct to function
      
      * Wrote a max_pool2d wrapper and added some comments
      
      * Replaced xavier init with kaiming init
      
      * Fixed an error in kaiming inits
      
      * Added model conversion and tests
      
      * Fixed a typo in alexnet and removed tests from cmake
      
      * Made an extension of tests and added module names to Densenet
      
      * Added python tests
      
      * Added MobileNet and GoogLeNet models
      
      * Added tests and conversions for new models and fixed a few errors
      
      * Updated Alexnet ad VGG
      
      * Updated Densenet, Squeezenet and Inception
      
      * Added ResNexts and their conversions
      
      * Added tests for ResNexts
      
      * Wrote tools nessesary to write ShuffleNet
      
      * Added ShuffleNetV2
      
      * Fixed some errors in ShuffleNetV2
      
      * Added conversions for shufflenetv2
      
      * Fixed the errors in test_models.cpp
      
      * Updated setup.py
      
      * Fixed flake8 error on test_cpp_models.py
      
      * Changed view to reshape in forward of ResNet
      
      * Updated ShuffleNetV2
      
      * Split extensions to tests and ops
      
      * Fixed test extension
      
      * Fixed image path in test_cpp_models.py
      
      * Fixed image path in test_cpp_models.py
      
      * Fixed a few things in test_cpp_models.py
      
      * Put the test models in evaluation mode
      
      * Fixed registering error in GoogLeNet
      
      * Updated setup.py
      
      * write test_cpp_models.py with unittest
      
      * Fixed a problem with pytest in test_cpp_models.py
      
      * Fixed a lint problem
      b5db97b4
    • Tomas Alori's avatar
      Fix calls to 'download_and_extract_archive()' (#1006) · 394de98e
      Tomas Alori authored
      Changes made in 7716aba5 broke calls to this method.
      394de98e
  16. 07 Jun, 2019 2 commits
  17. 05 Jun, 2019 1 commit
  18. 03 Jun, 2019 2 commits
    • Philip Meier's avatar
      [WIP] Add test for ImageNet (#976) · 7716aba5
      Philip Meier authored
      * added fake data
      
      * fixed fake data
      
      * renamed extract and download methods and added functionality
      
      * added raw fake data
      
      * refactored imagenet and added test
      
      * flake8
      
      * added fake devkit and mocked download_url
      
      * reversed uncommenting
      
      * added mock to CI
      
      * fixed tests for imagefolder
      
      * flake8
      7716aba5
    • Gu-ni-kim's avatar
      Update faster_rcnn.py (#979) · 3d561039
      Gu-ni-kim authored
      Add 'import torch' in example
      3d561039
  19. 30 May, 2019 1 commit
  20. 29 May, 2019 3 commits