ResNet-D

Last updated on Feb 14, 2021

resnet101d

Parameters 45 Million
FLOPs 14 Billion
File Size 170.51 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet101d
Crop Pct 0.94
Image Size 256
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet152d

Parameters 60 Million
FLOPs 20 Billion
File Size 230.40 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet152d
Crop Pct 0.94
Image Size 256
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet18d

Parameters 12 Million
FLOPs 3 Billion
File Size 44.72 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet18d
Crop Pct 0.875
Image Size 224
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet200d

Parameters 65 Million
FLOPs 26 Billion
File Size 247.63 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet200d
Crop Pct 0.94
Image Size 256
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet26d

Parameters 16 Million
FLOPs 3 Billion
File Size 61.23 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet26d
Crop Pct 0.875
Image Size 224
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet34d

Parameters 22 Million
FLOPs 5 Billion
File Size 83.32 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet34d
Crop Pct 0.875
Image Size 224
Interpolation bicubic
SHOW MORE
SHOW LESS
resnet50d

Parameters 26 Million
FLOPs 6 Billion
File Size 97.82 MB
Training Data ImageNet
Training Resources
Training Time

Architecture 1x1 Convolution, Bottleneck Residual Block, Batch Normalization, Convolution, Global Average Pooling, Residual Block, Residual Connection, ReLU, Max Pooling, Softmax
ID resnet50d
Crop Pct 0.875
Image Size 224
Interpolation bicubic
SHOW MORE
SHOW LESS
README.md

Summary

ResNet-D is a modification on the ResNet architecture that utilises an average pooling tweak for downsampling. The motivation is that in the unmodified ResNet, the 1×1 convolution for the downsampling block ignores 3/4 of input feature maps, so this is modified so no information will be ignored

How do I load this model?

To load a pretrained model:

import timm
m = timm.create_model('resnet50d', pretrained=True)
m.eval()

Replace the model name with the variant you want to use, e.g. resnet50d. You can find the IDs in the model summaries at the top of this page.

How do I train this model?

You can follow the timm recipe scripts for training a new model afresh.

Citation

@misc{he2018bag,
      title={Bag of Tricks for Image Classification with Convolutional Neural Networks}, 
      author={Tong He and Zhi Zhang and Hang Zhang and Zhongyue Zhang and Junyuan Xie and Mu Li},
      year={2018},
      eprint={1812.01187},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Results

Image Classification on ImageNet

Image Classification on ImageNet
MODEL TOP 1 ACCURACY TOP 5 ACCURACY
resnet200d 83.24% 96.49%
resnet152d 83.13% 96.35%
resnet101d 82.31% 96.06%
resnet50d 80.55% 95.16%
resnet34d 77.11% 93.38%
resnet26d 76.69% 93.15%
resnet18d 72.27% 90.69%