1. 07 May, 2019 3 commits
    • Francisco Massa's avatar
      Add C++ ops to torchvision (#826) · dc3ac290
      Francisco Massa authored
      * Initial layout for layers with cpp extensions
      
      * Move files around
      
      * Fix import after move
      
      * Add support for multiple types to ROIAlign
      
      * Different organization
      
      CUDA extensions work now
      
      * Cleanups
      
      * Reduce memory requirements for backwards
      
      * Replace runtime_error by AT_ERROR
      
      * Add nms test
      
      * Add support for compilation using CPP extensions
      
      * Change folder structure
      
      * Add ROIPool cuda
      
      * Cleanups
      
      * Add roi_pool.py
      
      * Fix lint
      
      * Add initial structures folder for bounding boxes
      
      * Assertion macros compatible with pytorch master (#540)
      
      * Support for ROI Pooling (#592)
      
      * ROI Pooling with tests. Fix for cuda context in ROI Align.
      
      * renamed bottom and top to follow torch conventions
      
      * remove .type().tensor() calls in favor of the new approach to tensor initialization (#626)
      
      * Consistent naming for rois variable (#627)
      
      * remove .type().tensor() calls in favor of the new approach to tensor initialization
      
      * Consistent naming for rois variable in ROIPool
      
      * ROIPool: Support for all datatypes (#632)
      
      * Use of torch7 naming scheme for ROIAlign forward and backward
      
      * use common cuda helpers in ROIAlign
      
      * use .options() in favor of .type() where applicable
      
      * Added tests for forward pass of ROIAlign, as well as more consistent naming scheme for CPU vs CUDA
      
      * working ROIAlign cuda backwards pass
      
      * working ROIAlign backwards pass for CPU
      
      * added relevant headers for ROIAlign backwards
      
      * tests for ROIAlign layer
      
      * replace .type() with .options() for tensor initialization in ROIAlign layers
      
      * support for Half types in ROIAlign
      
      * gradcheck tests for ROIAlign
      
      * updated ROIPool on CPU to work with all datatypes
      
      * updated and cleaned tests for ROI Pooling
      
      * Fix rebase problem
      
      * Remove structures folder
      
      * Improve cleanup and bugfix in test_layers
      
      * Update C++ headers
      
      * Add CUDAGuard to cu files
      
      * Add more checks to layers
      
      * Add CUDA NMS and tests
      
      * Add multi-type support for NMS CUDA
      
      * Avoid using THCudaMalloc
      
      * Add clang-format and reformat c++ code
      
      * Remove THC includes
      
      * Rename layers to ops
      
      * Add documentation and rename functions
      
      * Improve the documentation a bit
      
      * Fix some lint errors
      
      * Fix remaining lint inssues
      
      * Area computation doesn't add +1 in NMS
      
      * Update CI to use PyTorch nightly
      
      * Make NMS return indices sorted according to the score
      
      * Address reviewer comments
      
      * Lint fixes
      
      * Improve doc for roi_align and roi_pool
      
      * move to xenial
      
      * Fix bug pointed by @lopuhin
      
      * Fix RoIPool reference implementation in Python 2
      
      Also fixes a bug in the clip_boxes_to_image -- this function needs a test!
      
      * Remove change in .travis
      dc3ac290
    • 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 2 commits