1. 28 Oct, 2021 1 commit
  2. 25 Oct, 2021 2 commits
  3. 24 Oct, 2021 1 commit
  4. 22 Oct, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Additional SOTA ingredients on Classification Recipe (#4493) · b280c318
      Vasilis Vryniotis authored
      * Update EMA every X iters.
      
      * Adding AdamW optimizer.
      
      * Adjusting EMA decay scheme.
      
      * Support custom weight decay for Normalization layers.
      
      * Fix identation bug.
      
      * Change EMA adjustment.
      
      * Quality of life changes to faciliate testing
      
      * ufmt format
      
      * Fixing imports.
      
      * Adding FixRes improvement.
      
      * Support EMA in store_model_weights.
      
      * Adding interpolation values.
      
      * Change train_crop_size.
      
      * Add interpolation option.
      
      * Removing hardcoded interpolation and sizes from the scripts.
      
      * Fixing linter.
      
      * Incorporating feedback from code review.
      b280c318
  5. 17 Oct, 2021 1 commit
  6. 13 Oct, 2021 1 commit
  7. 08 Oct, 2021 1 commit
  8. 07 Oct, 2021 1 commit
  9. 06 Oct, 2021 1 commit
  10. 04 Oct, 2021 2 commits
    • Nicolas Hug's avatar
      Fix all outstanding flake8 issues (#4535) · b81d189d
      Nicolas Hug authored
      b81d189d
    • 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
  11. 30 Sep, 2021 1 commit
  12. 29 Sep, 2021 1 commit
    • 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
  13. 26 Sep, 2021 1 commit
  14. 21 Sep, 2021 3 commits
  15. 20 Sep, 2021 1 commit
  16. 17 Sep, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Warmup schedulers in References (#4411) · a2b4c652
      Vasilis Vryniotis authored
      * Warmup on Classficiation references.
      
      * Adjust epochs for cosine.
      
      * Warmup on Segmentation references.
      
      * Warmup on Video classification references.
      
      * Adding support of both types of warmup in segmentation.
      
      * Use LinearLR in detection.
      
      * Fix deprecation warning.
      a2b4c652
  17. 15 Sep, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Adding Mixup and Cutmix (#4379) · c8e3b2a5
      Vasilis Vryniotis authored
      * Add RandomMixupCutmix.
      
      * Add test with real data.
      
      * Use dataloader and collate in the test.
      
      * Making RandomMixupCutmix JIT scriptable.
      
      * Move out label_smoothing and try roll instead of flip
      
      * Adding mixup/cutmix in references script.
      
      * Handle one-hot encoded target in accuracy.
      
      * Add support of devices on tests.
      
      * Separate Mixup from Cutmix.
      
      * Add check for floats.
      
      * Adding device on expect value.
      
      * Remove hardcoded weights.
      
      * One-hot only when necessary.
      
      * Fix linter.
      
      * Moving mixup and cutmix to references.
      
      * Final code clean up.
      c8e3b2a5
  18. 14 Sep, 2021 4 commits
  19. 13 Sep, 2021 1 commit
  20. 10 Sep, 2021 1 commit
  21. 09 Sep, 2021 1 commit
  22. 06 Sep, 2021 1 commit
  23. 05 Sep, 2021 1 commit
  24. 02 Sep, 2021 2 commits
  25. 26 Aug, 2021 2 commits
    • Vasilis Vryniotis's avatar
    • 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
  26. 21 Jun, 2021 1 commit
  27. 18 Jun, 2021 1 commit
  28. 19 May, 2021 1 commit
  29. 12 May, 2021 1 commit
  30. 11 May, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add SSDlite architecture with MobileNetV3 backbones (#3757) · 43d77206
      Vasilis Vryniotis authored
      * Partial implementation of SSDlite.
      
      * Add normal init and BN hyperparams.
      
      * Refactor to keep JIT happy
      
      * Completed SSDlite.
      
      * Fix lint
      
      * Update todos
      
      * Add expected file in repo.
      
      * Use C4 expansion instead of C4 output.
      
      * Change scales formula for Default Boxes.
      
      * Add cosine annealing on trainer.
      
      * Make T_max count epochs.
      
      * Fix test and handle corner-case.
      
      * Add support of support width_mult
      
      * Add ssdlite presets.
      
      * Change ReLU6, [-1,1] rescaling, backbone init & no pretraining.
      
      * Use _reduced_tail=True.
      
      * Add sync BN support.
      
      * Adding the best config along with its weights and documentation.
      
      * Make mean/std configurable.
      
      * Fix not implemented for half exception
      43d77206
  31. 07 May, 2021 1 commit