mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update tresnet features_info for v2
This commit is contained in:
parent
c8ab747bf4
commit
a520da9b49
@ -200,8 +200,8 @@ class TResNet(nn.Module):
|
||||
|
||||
self.feature_info = [
|
||||
dict(num_chs=self.planes, reduction=2, module=''), # Not with S2D?
|
||||
dict(num_chs=self.planes, reduction=4, module='body.layer1'),
|
||||
dict(num_chs=self.planes * 2, reduction=8, module='body.layer2'),
|
||||
dict(num_chs=self.planes * (Bottleneck.expansion if v2 else 1), reduction=4, module='body.layer1'),
|
||||
dict(num_chs=self.planes * 2 * (Bottleneck.expansion if v2 else 1), reduction=8, module='body.layer2'),
|
||||
dict(num_chs=self.planes * 4 * Bottleneck.expansion, reduction=16, module='body.layer3'),
|
||||
dict(num_chs=self.planes * 8 * Bottleneck.expansion, reduction=32, module='body.layer4'),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user