"vscode:/vscode.git/clone" did not exist on "7eebd4404764dd778e18cc0fc4866d97504271f0"
  1. 04 Oct, 2021 1 commit
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      Philip Meier authored
      
      
      * add ufmt as code formatter
      
      * cleanup
      
      * quote ufmt requirement
      
      * split imports into more groups
      
      * regenerate circleci config
      
      * fix CI
      
      * clarify local testing utils section
      
      * use ufmt pre-commit hook
      
      * split relative imports into local category
      
      * Revert "split relative imports into local category"
      
      This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51.
      
      * pin black and usort dependencies
      
      * fix local test utils detection
      
      * fix ufmt rev
      
      * add reference utils to local category
      
      * fix usort config
      
      * remove custom categories sorting
      
      * Run pre-commit without fixing flake8
      
      * got a double import in merge
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  2. 01 Oct, 2021 2 commits
  3. 30 Sep, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Moving common layers to ops (#4504) · f7498350
      Vasilis Vryniotis authored
      * Moving _make_divisible to utils.
      
      * Replace the old ConvBNReLU and ConvBNActivation layers
      
      * Fix minor bug.
      
      * Moving SE layer to ops.
      
      * Adding deprecation warnings on old layers.
      
      * Apply changes to regnets.
      f7498350
  4. 29 Sep, 2021 2 commits
    • Kai Zhang's avatar
      Add RegNet Architecture in TorchVision (#4403) · 194a0846
      Kai Zhang authored
      * initial code
      
      * add SqueezeExcitation
      
      * initial code
      
      * add SqueezeExcitation
      
      * add SqueezeExcitation
      
      * regnet blocks, stems and model definition
      
      * nit
      
      * add fc layer
      
      * use Callable instead of Enum for block, stem and activation
      
      * add regnet_x and regnet_y model build functions, add docs
      
      * remove unused depth
      
      * use BN/activation constructor and ConvBNActivation
      
      * add expected test pkl files
      
      * allow custom activation in SqueezeExcitation
      
      * use ReLU as the default activation
      
      * initial code
      
      * add SqueezeExcitation
      
      * initial code
      
      * add SqueezeExcitation
      
      * add SqueezeExcitation
      
      * regnet blocks, stems and model definition
      
      * nit
      
      * add fc layer
      
      * use Callable instead of Enum for block, stem and activation
      
      * add regnet_x and regnet_y model build functions, add docs
      
      * remove unused depth
      
      * use BN/activation constructor and ConvBNActivation
      
      * reuse SqueezeExcitation from efficientnet
      
      * refactor RegNetParams into BlockParams
      
      * use nn.init, replace np with torch
      
      * update README
      
      * construct model with stem, block, classifier instances
      
      * Revert "construct model with stem, block, classifier instances"
      
      This reverts commit 850f5f3ed01a2a9b36fcbf8405afd6e41d2e58ef.
      
      * remove unused blocks
      
      * support scaled model
      
      * fuse into ConvBNActivation
      
      * make reset_parameters private
      
      * fix type errors
      
      * fix for unit test
      
      * add pretrained weights for 6 variant models, update docs
      194a0846
    • Vasilis Vryniotis's avatar
      Replace MobileNetV3's SqueezeExcitation with EfficientNet's one (#4487) · ff126ae2
      Vasilis Vryniotis authored
      * Reuse EfficientNet SE layer.
      
      * Deprecating the mobilenetv3.SqueezeExcitation layer.
      
      * Passing the right activation on quantization.
      
      * Making strict named param.
      
      * Set default params if missing.
      
      * Fixing typos.
      ff126ae2
  5. 21 Sep, 2021 2 commits
  6. 16 Sep, 2021 1 commit
  7. 08 Sep, 2021 1 commit
  8. 06 Sep, 2021 2 commits
  9. 05 Sep, 2021 1 commit
  10. 04 Sep, 2021 1 commit
  11. 02 Sep, 2021 1 commit
  12. 31 Aug, 2021 1 commit
  13. 26 Aug, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add EfficientNet Architecture in TorchVision (#4293) · 37a9ee5b
      Vasilis Vryniotis authored
      * Adding code skeleton
      
      * Adding MBConvConfig.
      
      * Extend SqueezeExcitation to support custom min_value and activation.
      
      * Implement MBConv.
      
      * Replace stochastic_depth with operator.
      
      * Adding the rest of the EfficientNet implementation
      
      * Update torchvision/models/efficientnet.py
      
      * Replacing 1st activation of SE with SiLU.
      
      * Adding efficientnet_b3.
      
      * Replace mobilenetv3 assets with custom.
      
      * Switch to standard sigmoid and reconfiguring BN.
      
      * Reconfiguration of efficientnet.
      
      * Add repr
      
      * Add weights.
      
      * Update weights.
      
      * Adding B5-B7 weights.
      
      * Update docs and hubconf.
      
      * Fix doc link.
      
      * Fix typo on comment.
      37a9ee5b
  14. 23 Aug, 2021 2 commits
    • F-G Fernandez's avatar
      Added typing annotations to models/video (#4229) · 11d36292
      F-G Fernandez authored
      * style: Added typing to models/video
      
      * style: Fixed typing
      
      * style: Fixed typing
      
      * style: Fixed typing
      
      * refactor: Removed default value for stem
      
      * docs: Fixed docstring of VideoResNet
      
      * style: Refactored typing
      
      * docs: Fixed docstring
      
      * style: Fixed typing
      
      * docs: Specified docstring
      
      * typing: Fixed tying
      
      * docs: Fixed docstring
      
      * Undoing change.
      11d36292
    • F-G Fernandez's avatar
      Added typing annotations to models/segmentation (#4227) · 185be3a9
      F-G Fernandez authored
      * style: Added typing annotations to segmentation/_utils
      
      * style: Added typing annotations to segmentation/segmentation
      
      * style: Added typing annotations to remaining segmentation models
      
      * style: Fixed typing of DeepLab
      
      * style: Fixed typing
      
      * fix: Fixed typing annotations & default values
      
      * Fixing python_type_check
      185be3a9
  15. 17 Aug, 2021 1 commit
  16. 06 Aug, 2021 1 commit
  17. 28 Jun, 2021 1 commit
  18. 22 Jun, 2021 1 commit
  19. 16 Jun, 2021 1 commit
  20. 01 Jun, 2021 1 commit
  21. 25 May, 2021 1 commit
  22. 21 May, 2021 1 commit
  23. 20 May, 2021 1 commit
  24. 18 May, 2021 2 commits
  25. 17 May, 2021 2 commits
  26. 13 May, 2021 1 commit
  27. 12 May, 2021 1 commit
  28. 11 May, 2021 2 commits
  29. 03 May, 2021 1 commit
  30. 30 Apr, 2021 2 commits
    • Vasilis Vryniotis's avatar
      Add SSD architecture with VGG16 backbone (#3403) · 730c5e1e
      Vasilis Vryniotis authored
      * Early skeleton of API.
      
      * Adding MultiFeatureMap and vgg16 backbone.
      
      * Making vgg16 backbone same as paper.
      
      * Making code generic to support all vggs.
      
      * Moving vgg's extra layers a separate class + L2 scaling.
      
      * Adding header vgg layers.
      
      * Fix maxpool patching.
      
      * Refactoring code to allow for support of different backbones & sizes:
      - Skeleton for Default Boxes generator class
      - Dynamic estimation of configuration when possible
      - Addition of types
      
      * Complete the implementation of DefaultBox generator.
      
      * Replace randn with empty.
      
      * Minor refactoring
      
      * Making clamping between 0 and 1 optional.
      
      * Change xywh to xyxy encoding.
      
      * Adding parameters and reusing objects in constructor.
      
      * Temporarily inherit from Retina to avoid dup code.
      
      * Implement forward methods + temp workarounds to inherit from retina.
      
      * Inherit more methods from retinanet.
      
      * Fix type error.
      
      * Add Regression loss.
      
      * Fixing JIT issues.
      
      * Change JIT workaround to minimize new code.
      
      * Fixing initialization bug.
      
      * Add classification loss.
      
      * Update todos.
      
      * Add weight loading support.
      
      * Support SSD512.
      
      * Change kernel_size to get output size 1x1
      
      * Add xavier init and refactoring.
      
      * Adding unit-tests and fixing JIT issues.
      
      * Add a test for dbox generator.
      
      * Remove unnecessary import.
      
      * Workaround on GeneralizedRCNNTransform to support fixed size input.
      
      * Remove unnecessary random calls from the test.
      
      * Remove more rand calls from the test.
      
      * change mapping and handling of empty labels
      
      * Fix JIT warnings.
      
      * Speed up loss.
      
      * Convert 0-1 dboxes to original size.
      
      * Fix warning.
      
      * Fix tests.
      
      * Update comments.
      
      * Fixing minor bugs.
      
      * Introduce a custom DBoxMatcher.
      
      * Minor refactoring
      
      * Move extra layer definition inside feature extractor.
      
      * handle no bias on init.
      
      * Remove fixed image size limitation
      
      * Change initialization values for bias of classification head.
      
      * Refactoring and update test file.
      
      * Adding ResNet backbone.
      
      * Minor refactoring.
      
      * Remove inheritance of retina and general refactoring.
      
      * SSD should fix the input size.
      
      * Fixing messages and comments.
      
      * Silently ignoring exception if test-only.
      
      * Update comments.
      
      * Update regression loss.
      
      * Restore Xavier init everywhere, update the negative sampling method, change the clipping approach.
      
      * Fixing tests.
      
      * Refactor to move the losses from the Head to the SSD.
      
      * Removing resnet50 ssd version.
      
      * Adding support for best performing backbone and its config.
      
      * Refactor and clean up the API.
      
      * Fix lint
      
      * Update todos and comments.
      
      * Adding RandomHorizontalFlip and RandomIoUCrop transforms.
      
      * Adding necessary checks to our tranforms.
      
      * Adding RandomZoomOut.
      
      * Adding RandomPhotometricDistort.
      
      * Moving Detection transforms to references.
      
      * Update presets
      
      * fix lint
      
      * leave compose and object
      
      * Adding scaling for completeness.
      
      * Adding params in the repr
      
      * Remove unnecessary import.
      
      * minor refactoring
      
      * Remove unnecessary call.
      
      * Give better names to DBox* classes
      
      * Port num_anchors estimation in generator
      
      * Remove rescaling and fix presets
      
      * Add the ability to pass a custom head and refactoring.
      
      * fix lint
      
      * Fix unit-test
      
      * Update todos.
      
      * Change mean values.
      
      * Change the default parameter of SSD to train the full VGG16 and remove the catch of exception for eval only.
      
      * Adding documentation
      
      * Adding weights and updating readmes.
      
      * Update the model weights with a more performing model.
      
      * Adding doc for head.
      
      * Restore import.
      730c5e1e
    • Prabhat Roy's avatar
      Refactored set_cell_anchors() in AnchorGenerator (#3755) · 7c35e133
      Prabhat Roy authored
      * Refactored set_cell_anchors() in AnchorGenerator
      
      * Addressed review comment
      
      * Fixed test failure
      7c35e133
  31. 29 Apr, 2021 1 commit