1. 07 May, 2019 2 commits
    • ekka's avatar
      Refactoring of ShuffleNetV2 (#889) · 0564df43
      ekka authored
      * Minor refactoring of ShuffleNetV2
      
      Added progress flag following #875. Further the following refactoring was also done:
      
      1) added `version` argument in shufflenetv2 method and removed the operations for converting the `width_mult` arg to float and string.
      2) removed `num_classes` argument and **kwargs from functions except `ShuffleNetV2`
      
      * removed `version` arg
      
      * Update shufflenetv2.py
      
      * Removed the try except block
      
      * Update shufflenetv2.py
      
      * Changed version from float to str
      
      * Replace `width_mult` with `stages_out_channels`
      
      Removes the need of  `_getStages` function.
      0564df43
    • bddppq's avatar
  2. 06 May, 2019 2 commits
  3. 03 May, 2019 1 commit
  4. 02 May, 2019 1 commit
  5. 30 Apr, 2019 3 commits
  6. 29 Apr, 2019 1 commit
  7. 26 Apr, 2019 1 commit
  8. 25 Apr, 2019 6 commits
  9. 24 Apr, 2019 2 commits
  10. 18 Apr, 2019 1 commit
  11. 17 Apr, 2019 1 commit
  12. 15 Apr, 2019 1 commit
  13. 12 Apr, 2019 2 commits
  14. 09 Apr, 2019 4 commits
  15. 08 Apr, 2019 1 commit
  16. 05 Apr, 2019 2 commits
  17. 04 Apr, 2019 2 commits
    • Philip Meier's avatar
      Refactoring of the datasets (#749) · 6cabab3a
      Philip Meier authored
      * introduced new super class for all vision datasets
      
      * Removed root from repr if dataset has no root
      
      * reverted some overly-ambitious autoformatting
      
      * reverted some overly-ambitious autoformatting
      
      * added split attribute to repr of STL10 dataset
      
      * made Python2 friendly and more robust
      
      * Fixed call of the superclass constructor
      
      * moved transform and target_transform back to the base classes
      
      * added check if transforms are present before printing to avoid setting them within the constructor
      
      * added missing transforms and target_transforms to base classes
      
      * fixed linter error
      6cabab3a
    • Sepehr Sameni's avatar
      make auxiliary heads in pretrained models optional (#828) · 50ea596e
      Sepehr Sameni authored
      * add aux_logits support to inception
      
      it is related to pytorch/pytorch#18668
      
      * instantiate InceptionAux only when requested
      
      it is related to pytorch/pytorch#18668
      
      * revert googlenet
      
      * support and aux_logits in pretrained models
      
      * return namedtuple when aux_logit is True
      50ea596e
  18. 03 Apr, 2019 1 commit
    • James Hamm's avatar
      Replace endswith calls in a loop with a single endswith call (#832) · f566fac8
      James Hamm authored
      str.endswith can take a single string, or a tuple of strings. This replaces a loop over each extension and a call to endswith with a single call to endswith passing in all the allowed extensions. This has the advantage that the loop over each extension is done in c rather than python, and the code is a little less verbose.
      f566fac8
  19. 02 Apr, 2019 2 commits
  20. 01 Apr, 2019 1 commit
  21. 29 Mar, 2019 3 commits