1. 20 Sep, 2019 1 commit
    • eellison's avatar
      Make Densenet Scriptable (#1342) · 21110d93
      eellison authored
      * make densenet scriptable
      
      * make py2 compat
      
      * use torch List polyfill
      
      * fix unpacking for checkpointing
      
      * fewer changes to _Denseblock
      
      * improve error message
      
      * print traceback
      
      * add typing dependency
      
      * add typing dependency to travis too
      
      * Make loading old checkpoints work
      21110d93
  2. 18 Sep, 2019 1 commit
  3. 17 Sep, 2019 2 commits
  4. 02 Sep, 2019 1 commit
    • eellison's avatar
      make shufflenet and resnet scriptable (#1270) · 26c9630b
      eellison authored
      * make shufflenet scriptable
      
      * make resnet18 scriptable
      
      * set downsample to identity instead of __constants__ api
      
      * use __constants__ for downsample instead of identity
      
      * import tensor to fix flake
      
      * use torch.Tensor type annotation instead of import
      26c9630b
  5. 30 Aug, 2019 1 commit
  6. 07 Aug, 2019 1 commit
    • Myosaki's avatar
      Correction wrong comments (#1211) · 5414faa0
      Myosaki authored
      `self.fc1(x)` converts the shape of `x` into "N x 1024", and `self.fc2(x)` converts into "N x num_classes".
      
      By adding `print(x.shape)` under each comment line, the console displays as follows (batch_size is 1):
      
      ```text
      torch.Size([1, 2048])
      torch.Size([1, 1024])
      torch.Size([1, 1024])
      torch.Size([1, 1024])
      torch.Size([1, 1000])
      ```
      5414faa0
  7. 06 Aug, 2019 2 commits
  8. 05 Aug, 2019 1 commit
  9. 04 Aug, 2019 1 commit
  10. 01 Aug, 2019 1 commit
  11. 26 Jul, 2019 1 commit
    • Bruno Korbar's avatar
      Add VideoModelZoo models (#1130) · 7c95f97a
      Bruno Korbar authored
      * [0.4_video] models - initial commit
      
      * addressing fmassas inline comments
      
      * pep8 and flake8
      
      * simplify "hacks"
      
      * sorting out latest comments
      
      * nitpick
      
      * Updated tests and constructors
      
      * Added docstrings - ready to merge
      7c95f97a
  12. 23 Jul, 2019 1 commit
  13. 19 Jul, 2019 1 commit
  14. 12 Jul, 2019 2 commits
  15. 10 Jul, 2019 1 commit
    • ekka's avatar
      Add checks to roi_heads in detection module (#1091) · 6693b2c6
      ekka authored
      * add float32 to keypoint_rcnn docs
      
      * add float32 to faster_rcnn docs
      
      * add float32 to mask_rcnn
      
      * Update faster_rcnn.py
      
      * Update keypoint_rcnn.py
      
      * Update mask_rcnn.py
      
      * Update faster_rcnn.py
      
      * make keypoints float
      
      * make masks uint8
      
      * Update keypoint_rcnn.py
      
      * make labels Int64
      
      * make labels Int64
      
      * make labels Int64
      
      * Add checks for boxes, labels, masks, keypoints
      
      * update mask dim
      
      * remove dtype
      
      * check only if targets is not None
      
      * account for targets being a list
      
      * update target to be list of dict
      
      * Update faster_rcnn.py
      
      * Update keypoint_rcnn.py
      
      * allow boxes to be of float16 type as well
      
      * remove checks on mask
      6693b2c6
  16. 05 Jul, 2019 2 commits
  17. 04 Jul, 2019 3 commits
  18. 02 Jul, 2019 1 commit
    • 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
  19. 26 Jun, 2019 1 commit
    • Sergey Zagoruyko's avatar
      Add pretrained Wide ResNet (#912) · 2b6da28c
      Sergey Zagoruyko authored
      * add wide resnet
      
      * add docstring for wide resnet
      
      * update WRN-50-2 model
      
      * add docs
      
      * extend WRN docstring
      
      * use pytorch storage for WRN
      
      * fix rebase
      
      * fix typo in docs
      2b6da28c
  20. 24 Jun, 2019 2 commits
    • Francisco Massa's avatar
      03e25734
    • 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
  21. 18 Jun, 2019 1 commit
  22. 14 Jun, 2019 2 commits
  23. 11 Jun, 2019 1 commit
  24. 07 Jun, 2019 2 commits
  25. 03 Jun, 2019 1 commit
  26. 25 May, 2019 1 commit
  27. 22 May, 2019 1 commit
  28. 21 May, 2019 4 commits