1. 10 May, 2019 1 commit
    • Francisco Massa's avatar
      Initial version of segmentation reference scripts (#820) · 50d54a82
      Francisco Massa authored
      * Initial version of the segmentation examples
      
      WIP
      
      * Cleanups
      
      * [WIP]
      
      * Tag where runs are being executed
      
      * Minor additions
      
      * Update model with new resnet API
      
      * [WIP] Using torchvision datasets
      
      * Improving datasets
      
      Leverage more and more torchvision datasets
      
      * Reorganizing datasets
      
      * PEP8
      
      * No more SegmentationModel
      
      Also remove outplanes from ResNet, and add a function for querying intermediate outputs. I won't keep it in the end, because it's very hacky and don't work with tracing
      
      * Minor cleanups
      
      * Moving transforms to its own file
      
      * Move models to torchvision
      
      * Bugfixes
      
      * Multiply LR by 10 for classifier
      
      * Remove classifier x 10
      
      * Add tests for segmentation models
      
      * Update with latest utils from classification
      
      * Lint and missing import
      50d54a82
  2. 08 May, 2019 1 commit
    • Bar's avatar
      Enhance ShufflenetV2 (#892) · 43ab2fef
      Bar authored
      * Enhance ShufflenetV2
      
      Class shufflenetv2 receives `stages_repeats` and `stages_out_channels` arguments.
      
      * remove explicit num_classes argument from utility functions
      43ab2fef
  3. 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
  4. 06 May, 2019 2 commits
  5. 03 May, 2019 1 commit
  6. 02 May, 2019 1 commit
  7. 30 Apr, 2019 3 commits
  8. 29 Apr, 2019 1 commit
  9. 26 Apr, 2019 1 commit
  10. 25 Apr, 2019 6 commits
  11. 24 Apr, 2019 2 commits
  12. 18 Apr, 2019 1 commit
  13. 17 Apr, 2019 1 commit
  14. 15 Apr, 2019 1 commit
  15. 12 Apr, 2019 2 commits
  16. 09 Apr, 2019 4 commits
  17. 08 Apr, 2019 1 commit
  18. 05 Apr, 2019 2 commits
  19. 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
  20. 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
  21. 02 Apr, 2019 2 commits
  22. 01 Apr, 2019 1 commit