Skip to content

Commit 2680ad1

Browse files
committed
Add Res2Net and DLA to README
1 parent adbf770 commit 2680ad1

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ I've included a few of my favourite models, but this is not an exhaustive collec
2525
* ResNet-18, ResNet-34, ResNet-50, ResNet-101, ResNet-152, ResNeXt50 (32x4d), ResNeXt101 (32x4d and 64x4d)
2626
* 'Bag of Tricks' / Gluon C, D, E, S variations (https://arxiv.org/abs/1812.01187)
2727
* Instagram trained / ImageNet tuned ResNeXt101-32x8d to 32x48d from from [facebookresearch](https://pytorch.org/hub/facebookresearch_WSL-Images_resnext/)
28+
* Res2Net (https://github.com/gasvn/Res2Net, https://arxiv.org/abs/1904.01169)
29+
* DLA
30+
* Original (https://github.com/ucbdrive/dla, https://arxiv.org/abs/1707.06484)
31+
* Res2Net (https://github.com/gasvn/Res2Net, https://arxiv.org/abs/1904.01169)
2832
* DenseNet (from [torchvision](https://github.com/pytorch/vision/tree/master/torchvision/models))
2933
* DenseNet-121, DenseNet-169, DenseNet-201, DenseNet-161
3034
* Squeeze-and-Excitation ResNet/ResNeXt (from [Cadene](https://github.com/Cadene/pretrained-models.pytorch) with some pretrained weight additions by myself)

timm/models/res2net.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,6 @@ def forward(self, x):
119119
return out
120120

121121

122-
123-
@register_model
124-
def res2net50(pretrained=False, num_classes=1000, in_chans=3, **kwargs):
125-
"""Constructs a Res2Net-50 model.
126-
Res2Net-50 refers to the Res2Net-50_26w_4s.
127-
Args:
128-
pretrained (bool): If True, returns a model pre-trained on ImageNet
129-
"""
130-
return res2net50_26w_4s(pretrained, num_classes, in_chans, **kwargs)
131-
132-
133122
@register_model
134123
def res2net50_26w_4s(pretrained=False, num_classes=1000, in_chans=3, **kwargs):
135124
"""Constructs a Res2Net-50_26w_4s model.

0 commit comments

Comments
 (0)