Skip to main content
. 2021 Mar 24;11(4):239. doi: 10.3390/jpm11040239

Table 4.

Detailed configuration of ResNet50, ResNet101, ResNet152, AlexNet, and VGG16. Convolution and pooling layers of ResNet block 2, 3, 4, and 5 were performed with a stride of 2.

Block Output Size ResNet50 ResNet101 ResNet152 VGG16 Output Size AlexNet
1 112  × 112 7 × 7, 64, stride 2 7 × 7, 64, stride 2 7 × 7, 64, stride 2 3×3, 64 ×2 55  × 55 11 × 11, 96, stride 4
2 56  × 56 3 × 3 max-pooling, stride 2 3 × 3 max-pooling, stride 2 3 × 3 max-pooling, stride 2 2 × 2 max-pooling, stride 2 27  × 27 3 × 3 max-pooling, stride 2
 1×1, 643×3, 641×1, 256 ×3  1×1, 643×3, 641×1, 256 ×3  1×1, 643×3, 641×1, 256 ×3  3×3, 128 ×2 5 × 5, 256, stride 1
3 28  × 28  1×1, 1283×3, 1281×1, 512 ×4  1×1, 1283×3, 1281×1, 512 ×4  1×1, 1283×3, 1281×1, 512 ×8 2 × 2 max-pooling, stride 2 13  × 13 3 × 3 max-pooling, stride 2
 3×3, 256 ×3  3×3, 3843×3, 3843×3, 256 , stride 1
4 14  × 14  1×1, 2563×3, 2561×1, 1024 ×6  1×1, 2563×3, 2561×1, 1024 ×23  1×1, 2563×3, 2561×1, 1024 ×36 2 × 2 max-pooling, stride 2 1  × 1 3 × 3 max-pooling, stride 2
average pooling
 3×3, 512 ×3 [4096 fully connected,
ReLU] ×2
n-class fully connected, softmax
5 7  × 7  1×1, 5123×3, 5121×1, 2048 ×3  1×1, 5123×3, 5121×1, 2048 ×3  1×1, 5123×3, 5121×1, 2048 ×3  3×3, 512 ×3
6 1  × 1 average-pooling 2 × 2 max-pooling, stride 2
[4096 fully connected, ReLU] ×2
n-class fully connected, softmax n-class fully connected, softmax