Skip to main content
. 2022 Nov 21;8:e1161. doi: 10.7717/peerj-cs.1161

Table 5. ResNet configuration for CIFAR10/100 (He et al., 2016).

Layer Output size Network configuration
conv1 32×32 3×3, 64, stride 1
conv2 _x 32×32 [3×3,323×3,32]×3
32×32 None/FMAttn/CAM
conv3 _x 16×16 [3×3,643×3,64]×3
16×16 None/FMAttn/CAM
conv4 _x 8×8 [3×3,1283×3,128]×3
8×8 None/FMAttn/CAM
4×4 Adaptive average pooling
1×1 FC-10/100

Notes:

The first block of convN _x is followed by a downsample layer, except for conv2 _x.

The first convolutional layer of conv3_x and conv4_x has a stride of 2. The rest are all 1.

Each convolutional layer is followed by a BN layer and ReLU layer.

[ m×m,n]: Convolution kernel size m×m, n channels.

Output size: width×height.