You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fbsync] Add RegNet Architecture in TorchVision (#4403)
Summary:
* 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 850f5f3.
* 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
Reviewed By: prabhat00155, NicolasHug
Differential Revision: D31309546
fbshipit-source-id: 56e01f105279c3d3c5514607c23d2835896b3d03
Copy file name to clipboardExpand all lines: references/classification/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,36 @@ The weights of the B0-B4 variants are ported from Ross Wightman's [timm repo](ht
79
79
80
80
The weights of the B5-B7 variants are ported from Luke Melas' [EfficientNet-PyTorch repo](https://github.com/lukemelas/EfficientNet-PyTorch/blob/1039e009545d9329ea026c9f7541341439712b96/efficientnet_pytorch/utils.py#L562-L564).
Here `$MODEL` is one of `regnet_x_400mf`, `regnet_x_800mf`, `regnet_x_1_6gf`, `regnet_y_400mf`, `regnet_y_800mf` and `regnet_y_1_6gf`. Please note we used learning rate 0.4 for `regent_y_400mf` to get the same Acc@1 as [the paper)(https://arxiv.org/abs/2003.13678).
0 commit comments