1. 17 Nov, 2022 1 commit
    • Aditya Oke's avatar
      Add Video SwinTransformer (#6521) · b1054cbb
      Aditya Oke authored
      
      
      * Just start adding mere copy paste
      
      * Replace d with t and D with T
      
      * Align swin transformer video to image a bit
      
      * Rename d -> t
      
      * align with 2d impl
      
      * align with 2d impl
      
      * Add helpful comments and config for 3d
      
      * add docs
      
      * Add docs
      
      * Add configurations
      
      * Add docs
      
      * Fix bugs
      
      * Fix wrong edit
      
      * Fix wrong edit
      
      * Fix bugs
      
      * Fix bugs
      
      * Fix as per fx suggestions
      
      * Update torchvision/models/video/swin_transformer.py
      
      * Fix as per fx suggestions
      
      * Fix expect files and code
      
      * Update the expect files
      
      * Modify video swin
      
      * Add min size and min temporal size, num params
      
      * Add flops and size
      
      * Fix types
      
      * Fix url recipe
      Co-authored-by: default avatarYosua Michael Maranatha <yosuamichael@fb.com>
      b1054cbb
  2. 23 Sep, 2022 1 commit
    • Ponku's avatar
      MaxVit model (#6342) · 6b1646ca
      Ponku authored
      
      
      * Added maxvit architecture and tests
      
      * rebased + addresed comments
      
      * Revert "rebased + addresed comments"
      
      This reverts commit c5b28398cd48d2f3403c7c8eeefbaba9df05fcfe.
      
      * Re-added model changes after revert
      
      * aligned with partial original implementation
      
      * removed submitit script fixed lint
      
      * mypy fix for too many arguments
      
      * updated old tests
      
      * removed per batch lr scheduler and seed setting
      
      * removed ontap
      
      * added docs, validated weights
      
      * fixed test expect, moved shape assertions in the begging for torch.fx compatibility
      
      * mypy fix
      
      * lint fix
      
      * added legacy interface
      
      * added weight link
      
      * updated docs
      
      * Update references/classification/train.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/maxvit.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * adressed comments
      
      * update ra_maginuted and augmix_severity default values
      
      * adressed some comments
      
      * remove input_channels parameter
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      6b1646ca
  3. 19 Aug, 2022 1 commit
    • Sophia Zhi's avatar
      Add the S3D architecture to TorchVision (#6412) · 6de7021e
      Sophia Zhi authored
      
      
      * S3D initial commit
      
      * add model builder code and docstrings
      
      * change classifier submodule, populate weights enum
      
      * fix change of block args from List[List[int]] to ints
      
      * add VideoClassification to transforms
      
      * edit weights url for testing, add s3d to models.video init
      
      * norm_layer changes
      
      * norm_layer and args fix
      
      * Overwrite default dropout
      
      * Remove docs from internal submodules.
      
      * Fix tests
      
      * Adding documentation.
      
      * Link doc from main models.rst
      
      * Fix min_temporal_size
      
      * Adding crop/resize parameters in references script
      
      * Release weights.
      
      * Refactor dropout.
      
      * Adding the weights table in the doc
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      6de7021e
  4. 08 Aug, 2022 1 commit
  5. 01 Aug, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Add registration mechanism for models (#6333) · 0a919dbb
      Vasilis Vryniotis authored
      * Model registration mechanism.
      
      * Add overwrite options to the dataset prototype registration mechanism.
      
      * Adding example models.
      
      * Fix module filtering
      
      * Fix linter
      
      * Fix docs
      
      * Make name optional if same as model builder
      
      * Apply updates from code-review.
      
      * fix minor bug
      
      * Adding getter for model weight enum
      
      * Support both strings and callables on get_model_weight.
      
      * linter fixes
      
      * Fixing mypy.
      
      * Renaming `get_model_weight` to `get_model_weights`
      
      * Registering all classification models.
      
      * Registering all video models.
      
      * Registering all detection models.
      
      * Registering all optical flow models.
      
      * Fixing mypy.
      
      * Registering all segmentation models.
      
      * Registering all quantization models.
      
      * Fixing linter
      
      * Registering all prototype depth perception models.
      
      * Adding tests and updating existing tests.
      
      * Fix linters
      
      * Fix tests.
      
      * Add beta annotation on docs.
      
      * Fix tests.
      
      * Apply changes from code-review.
      
      * Adding documentation.
      
      * Fix docs.
      0a919dbb
  6. 24 Jun, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Add MViT architecture in TorchVision (#6198) · fb7f9a16
      Vasilis Vryniotis authored
      * Adding MViT v2 architecture (#6105)
      
      * Adding mvitv2 architecture
      
      * Fixing memory issues on tests and minor refactorings.
      
      * Adding input validation
      
      * Adding docs and minor refactoring
      
      * Add `min_temporal_size` in the supported meta-data.
      
      * Switch Tuple[int, int, int] with List[int] to support easier the 2D case
      
      * Adding more docs and references
      
      * Change naming conventions of classes to follow the same pattern as MobileNetV3
      
      * Fix test breakage.
      
      * Update todos
      
      * Performance optimizations.
      
      * Add support to MViT v1 (#6179)
      
      * Switch implementation to v1 variant.
      
      * Fix docs
      
      * Adding back a v2 pseudovariant
      
      * Changing the way the network are configured.
      
      * Temporarily removing v2
      
      * Adding weights.
      
      * Expand _squeeze/_unsqueeze to support arbitrary dims.
      
      * Update references script.
      
      * Fix tests.
      
      * Fixing frames and preprocessing.
      
      * Fix std/mean values in transforms.
      
      * Add permanent Dropout and update the weights.
      
      * Update accuracies.
      
      * Fix documentation
      
      * Remove unnecessary expected file.
      
      * Skip big model test
      
      * Rewrite the configuration logic to reduce LOC.
      
      * Fix mypy
      fb7f9a16
  7. 14 Jun, 2022 1 commit
  8. 23 May, 2022 1 commit
  9. 19 May, 2022 1 commit
  10. 09 May, 2022 1 commit
    • YosuaMichael's avatar
      Adding resnext101 64x4d model (#5935) · 4c02f103
      YosuaMichael authored
      * Add resnext101_64x4d model definition
      
      * Add test for resnext101_64x4d
      
      * Add resnext101_64x4d weight
      
      * Update checkpoint to use EMA weigth
      
      * Add quantization model signature for resnext101_64x4d
      
      * Fix class name and update accuracy using 1 gpu and batch_size=1
      
      * Apply ufmt
      
      * Update the quantized weight and accuracy that we still keep the training log
      
      * Add quantized expect file
      
      * Update docs and fix acc1
      
      * Add recipe for quantized to PR
      
      * Update models.rst
      4c02f103
  11. 03 May, 2022 1 commit
  12. 28 Apr, 2022 1 commit
    • YosuaMichael's avatar
      Add shufflenetv2 1.5 and 2.0 weights (#5906) · 5fc36b4f
      YosuaMichael authored
      * Add shufflenetv2 1.5 and 2.0 weights
      
      * Update recipe
      
      * Add to docs
      
      * Use resize_size=232 for eval and update the result
      
      * Add quantized shufflenetv2 large
      
      * Update docs and readme
      
      * Format with ufmt
      
      * Add to hubconf.py
      
      * Update readme for classification reference
      
      * Fix reference classification readme
      
      * Fix typo on readme
      
      * Update reference/classification/readme
      5fc36b4f
  13. 27 Apr, 2022 1 commit
    • Hu Ye's avatar
      Adding Swin Transformer architecture (#5491) · e288f6ca
      Hu Ye authored
      
      
      * add swin transformer
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * fix lint
      
      * fix lint
      
      * refactor code
      
      * add swin_transformer
      
      * Update swin_transformer.py
      
      * fix bug
      
      * refactor code
      
      * fix lint
      
      * update init_weights
      
      * move shift_window into attention
      
      * refactor code
      
      * fix bug
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * fix lint
      
      * add patch_merge
      
      * fix bug
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * refactor code
      
      * Update swin_transformer.py
      
      * refactor code
      
      * fix lint
      
      * refactor code
      
      * add swin_tiny
      
      * add swin_tiny.pkl
      
      * fix lint
      
      * Delete ModelTester.test_swin_tiny_expect.pkl
      
      * add swin_tiny
      
      * add
      
      * add Optional to bias
      
      * update init weights
      
      * update init_weights and add no weight decay
      
      * add no weight decay
      
      * add set_weight_decay
      
      * add set_weight_decay
      
      * fix lint
      
      * fix lint
      
      * add lr_cos_min
      
      * add other swin models
      
      * Update torchvision/models/swin_transformer.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * refactor doc
      
      * Update utils.py
      
      * Update train.py
      
      * Update train.py
      
      * Update swin_transformer.py
      
      * update model builder
      
      * fix lint
      
      * add
      
      * Update torchvision/models/swin_transformer.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/swin_transformer.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * update other model
      
      * simplify the model name just like ViT
      
      * add lr_cos_min
      
      * fix lint
      
      * fix lint
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * Update swin_transformer.py
      
      * Delete ModelTester.test_swin_tiny_expect.pkl
      
      * add swin_t
      
      * refactor code
      
      * Update train.py
      
      * add swin_s
      
      * ignore a error of mypy
      
      * Update swin_transformer.py
      
      * fix lint
      
      * add swin_b
      
      * add swin_l
      
      * refactor code
      
      * Update train.py
      
      * move relative_position_bias to __init__
      
      * fix formatting
      
      * Revert "fix formatting"
      
      This reverts commit 41faba232668f7ac4273a0cf632c0d0130c7ce9c.
      
      * Revert "move relative_position_bias to __init__"
      
      This reverts commit f0615440bf18617dc0e5dc4839bd5ed27e5ed010.
      
      * refactor code
      
      * Remove deprecated meta-data from `_COMMON_META`
      
      * fix linter
      
      * add pretrained weights for swin_t
      
      * fix format
      
      * apply ufmt
      
      * add documentation
      
      * update references README
      
      * adding new style docs
      
      * update pre-trained weights values
      
      * remove other variants
      
      * fix typo
      
      * Remove expect for the variants not yet supported
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      e288f6ca
  14. 05 Apr, 2022 1 commit
    • YosuaMichael's avatar
      Adding the huge vision transformer from SWAG (#5721) · 63576c9f
      YosuaMichael authored
      
      
      * Add vit_b_16_swag
      
      * Better handling idiom for image_size, edit test_extended_model to handle case where number of param differ from default due to different image size input
      
      * Update the accuracy to the experiment result on torchvision model
      
      * Fix typo missing underscore
      
      * raise exception instead of torch._assert, add back publication year (accidentally deleted)
      
      * Add license information on meta and readme
      
      * Improve wording and fix typo for pretrained model license in readme
      
      * Add vit_l_16 weight
      
      * Update README.rst
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update the accuracy meta on vit_l_16_swag model to result from our experiment
      
      * Add vit_h_14_swag model
      
      * Add accuracy from experiments
      
      * Add to vit_h_16 model to hubconf.py
      
      * Add docs and expected pkl file for test
      
      * Remove legacy compatibility for ViT_H_14 model
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Test vit_h_14 with smaller image_size to speedup the test
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      63576c9f
  15. 23 Mar, 2022 1 commit
  16. 22 Mar, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Port Multi-weight support from prototype to main (#5618) · 11bd2eaa
      Vasilis Vryniotis authored
      
      
      * Moving basefiles outside of prototype and porting Alexnet, ConvNext, Densenet and EfficientNet.
      
      * Porting googlenet
      
      * Porting inception
      
      * Porting mnasnet
      
      * Porting mobilenetv2
      
      * Porting mobilenetv3
      
      * Porting regnet
      
      * Porting resnet
      
      * Porting shufflenetv2
      
      * Porting squeezenet
      
      * Porting vgg
      
      * Porting vit
      
      * Fix docstrings
      
      * Fixing imports
      
      * Adding missing import
      
      * Fix mobilenet imports
      
      * Fix tests
      
      * Fix prototype tests
      
      * Exclude get_weight from models on test
      
      * Fix init files
      
      * Porting googlenet
      
      * Porting inception
      
      * porting mobilenetv2
      
      * porting mobilenetv3
      
      * porting resnet
      
      * porting shufflenetv2
      
      * Fix test and linter
      
      * Fixing docs.
      
      * Porting Detection models (#5617)
      
      * fix inits
      
      * fix docs
      
      * Port faster_rcnn
      
      * Port fcos
      
      * Port keypoint_rcnn
      
      * Port mask_rcnn
      
      * Port retinanet
      
      * Port ssd
      
      * Port ssdlite
      
      * Fix linter
      
      * Fixing tests
      
      * Fixing tests
      
      * Fixing vgg test
      
      * Porting Optical Flow, Segmentation, Video models (#5619)
      
      * Porting raft
      
      * Porting video resnet
      
      * Porting deeplabv3
      
      * Porting fcn and lraspp
      
      * Fixing the tests and linter
      
      * Porting docs, examples, tutorials and galleries (#5620)
      
      * Fix examples, tutorials and gallery
      
      * Update gallery/plot_optical_flow.py
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      
      * Fix import
      
      * Revert hardcoded normalization
      
      * fix uncommitted changes
      
      * Fix bug
      
      * Fix more bugs
      
      * Making resize optional for segmentation
      
      * Fixing preset
      
      * Fix mypy
      
      * Fixing documentation strings
      
      * Fix flake8
      
      * minor refactoring
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      
      * Resolve conflict
      
      * Porting model tests (#5622)
      
      * Porting tests
      
      * Remove unnecessary variable
      
      * Fix linter
      
      * Move prototype to extended tests
      
      * Fix download models job
      
      * Update CI on Multiweight branch to use the new weight download approach (#5628)
      
      * port Pad to prototype transforms (#5621)
      
      * port Pad to prototype transforms
      
      * use literal
      
      * Bump up LibTorchvision version number for Podspec to release Cocoapods (#5624)
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * pre-download model weights in CI docs build (#5625)
      
      * pre-download model weights in CI docs build
      
      * move changes into template
      
      * change docs image
      
      * Regenerated config.yml
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarAnton Thomma <11010310+thommaa@users.noreply.github.com>
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      
      * Porting reference scripts and updating presets (#5629)
      
      * Making _preset.py classes
      
      * Remove support of targets on presets.
      
      * Rewriting the video preset
      
      * Adding tests to check that the bundled transforms are JIT scriptable
      
      * Rename all presets from *Eval to *Inference
      
      * Minor refactoring
      
      * Remove --prototype and --pretrained from reference scripts
      
      * remove  pretained_backbone refs
      
      * Corrections and simplifications
      
      * Fixing bug
      
      * Fixing linter
      
      * Fix flake8
      
      * restore documentation example
      
      * minor fixes
      
      * fix optical flow missing param
      
      * Fixing commands
      
      * Adding weights_backbone support in detection and segmentation
      
      * Updating the commands for InceptionV3
      
      * Setting `weights_backbone` to its fully BC value (#5653)
      
      * Replace default `weights_backbone=None` with its BC values.
      
      * Fixing tests
      
      * Fix linter
      
      * Update docs.
      
      * Update preprocessing on reference scripts.
      
      * Change qat/ptq to their full values.
      
      * Refactoring preprocessing
      
      * Fix video preset
      
      * No initialization on VGG if pretrained
      
      * Fix warning messages for backbone utils.
      
      * Adding star to all preset constructors.
      
      * Fix mypy.
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarAnton Thomma <11010310+thommaa@users.noreply.github.com>
      Co-authored-by: default avatarAnton Thomma <anton@pri.co.nz>
      11bd2eaa
  17. 04 Mar, 2022 1 commit
  18. 02 Mar, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding EfficientNetV2 architecture (#5450) · e6d82f7d
      Vasilis Vryniotis authored
      * Extend the EfficientNet class to support v1 and v2.
      
      * Refactor config/builder methods and add prototype builders
      
      * Refactoring weight info.
      
      * Update dropouts based on TF config ref
      
      * Update BN eps on TF base_config
      
      * Use Conv2dNormActivation.
      
      * Adding pre-trained weights for EfficientNetV2-s
      
      * Add Medium and Large weights
      
      * Update stats with single batch run.
      
      * Add accuracies in the docs.
      e6d82f7d
  19. 01 Feb, 2022 2 commits
  20. 23 Jan, 2022 1 commit
  21. 21 Jan, 2022 1 commit
    • Hu Ye's avatar
      add FCOS (#4961) · 7d4bdd43
      Hu Ye authored
      
      
      * add fcos
      
      * update fcos
      
      * add giou_loss
      
      * add BoxLinearCoder for FCOS
      
      * add full code for FCOS
      
      * add giou loss
      
      * add fcos
      
      * add __all__
      
      * Fixing lint
      
      * Fixing lint in giou_loss.py
      
      * Add typing annotation to fcos
      
      * Add trained checkpoints
      
      * Use partial to replace lambda
      
      * Minor fixes to docstrings
      
      * Apply ufmt format
      
      * Fixing docstrings
      
      * Fixing jit scripting
      
      * Minor fixes to docstrings
      
      * Fixing jit scripting
      
      * Ignore mypy in fcos
      
      * Fixing trained checkpoints
      
      * Fixing unit-test of jit script
      
      * Fixing docstrings
      
      * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl
      
      * Fixing test_detection_model_trainable_backbone_layers
      
      * Update test_fcos_resnet50_fpn_expect.pkl
      
      * rename stride to box size
      
      * remove TODO and fix some typo
      
      * merge some code for better
      
      * impove the comments
      
      * remove decode and encode of BoxLinearCoder
      
      * remove some unnecessary hints
      
      * use the default value in detectron2.
      
      * update doc
      
      * Add unittest for BoxLinearCoder
      
      * Add types in FCOS
      
      * Add docstring for BoxLinearCoder
      
      * Minor fix for the docstring
      
      * update doc
      
      * Update fcos_resnet50_fpn_coco pretained weights url
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Add FCOS model documentation
      
      * Fix typo in FCOS documentation
      
      * Add fcos to the prototype builder
      
      * Capitalize COCO_V1
      
      * Fix params of fcos
      
      * fix bug for partial
      
      * Fixing docs indentation
      
      * Fixing docs format in giou_loss
      
      * Adopt Reference for GIoU Loss
      
      * Rename giou_loss to generalized_box_iou_loss
      
      * remove overwrite_eps
      
      * Update AP test values
      
      * Minor fixes for the docs
      
      * Minor fixes for the docs
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      
      * Update torchvision/prototype/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarzhiqiang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <joaopsgomes@gmail.com>
      7d4bdd43
  22. 20 Jan, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding ConvNeXt architecture in prototype (#5197) · afda28ac
      Vasilis Vryniotis authored
      * Adding CNBlock and skeleton architecture
      
      * Completed implementation.
      
      * Adding model in prototypes.
      
      * Add test and minor refactor for JIT.
      
      * Fix mypy.
      
      * Fixing naming conventions.
      
      * Fixing tests.
      
      * Fix stochastic depth percentages.
      
      * Adding stochastic depth to tiny variant.
      
      * Minor refactoring and adding comments.
      
      * Adding weights.
      
      * Update default weights.
      
      * Fix transforms issue
      
      * Move convnext to prototype.
      
      * linter fix
      
      * fix docs
      
      * Addressing code review comments.
      afda28ac
  23. 19 Jan, 2022 1 commit
  24. 13 Jan, 2022 1 commit
  25. 10 Jan, 2022 1 commit
  26. 06 Dec, 2021 1 commit
  27. 12 Nov, 2021 1 commit
  28. 04 Nov, 2021 1 commit
  29. 03 Nov, 2021 1 commit
  30. 01 Nov, 2021 1 commit
  31. 08 Oct, 2021 1 commit
  32. 05 Oct, 2021 1 commit
    • Kai Zhang's avatar
      Update Regnet model weights (#4530) · 0c0a6a44
      Kai Zhang authored
      * add best weights and x_1_6, x_3_2, y_1_6, y_3_2, y_32 weights
      
      * add best weights and x_1_6, x_3_2, y_1_6, y_3_2, y_32 weights
      
      * add weights for x_16gf, x_32gf, y_16gf
      0c0a6a44
  33. 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
  34. 04 Sep, 2021 2 commits
  35. 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
  36. 22 May, 2021 1 commit
  37. 18 May, 2021 1 commit
  38. 12 May, 2021 1 commit