Skip to content

Instantly share code, notes, and snippets.

@qzhong0605
Created February 12, 2019 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzhong0605/3b02e041f82ae4dc2b1bed7404aca0f6 to your computer and use it in GitHub Desktop.
Save qzhong0605/3b02e041f82ae4dc2b1bed7404aca0f6 to your computer and use it in GitHub Desktop.
name: "ResNet-50"
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_value: 104.0
mean_value: 117.0
mean_value: 123.0
}
data_param {
source: "/mnt/disk1/zhibin/experiment_data/imagenet/caffe_lmdb/ilsvrc12_encoded_train_lmdb/"
batch_size: 16
backend: LMDB
}
}
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TEST
}
transform_param {
mirror: false
crop_size: 224
mean_value: 104.0
mean_value: 117.0
mean_value: 123.0
}
data_param {
source: "/mnt/disk1/zhibin/experiment_data/imagenet/caffe_lmdb/ilsvrc12_encoded_val_lmdb/"
batch_size: 16
backend: LMDB
}
}
layer {
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
pad: 3
kernel_size: 7
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn_conv1"
type: "BatchNorm"
bottom: "conv1"
top: "conv1"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale_conv1"
type: "Scale"
bottom: "conv1"
top: "conv1"
scale_param {
bias_term: true
}
}
layer {
name: "conv1_relu"
type: "ReLU"
bottom: "conv1"
top: "conv1"
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "res2a_branch1"
type: "Convolution"
bottom: "pool1"
top: "res2a_branch1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2a_branch1"
type: "BatchNorm"
bottom: "res2a_branch1"
top: "res2a_branch1"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2a_branch1"
type: "Scale"
bottom: "res2a_branch1"
top: "res2a_branch1"
scale_param {
bias_term: true
}
}
layer {
name: "res2a_branch2a"
type: "Convolution"
bottom: "pool1"
top: "res2a_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2a_branch2a"
type: "BatchNorm"
bottom: "res2a_branch2a"
top: "res2a_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2a_branch2a"
type: "Scale"
bottom: "res2a_branch2a"
top: "res2a_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res2a_branch2a_relu"
type: "ReLU"
bottom: "res2a_branch2a"
top: "res2a_branch2a"
}
layer {
name: "res2a_branch2b"
type: "Convolution"
bottom: "res2a_branch2a"
top: "res2a_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2a_branch2b"
type: "BatchNorm"
bottom: "res2a_branch2b"
top: "res2a_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2a_branch2b"
type: "Scale"
bottom: "res2a_branch2b"
top: "res2a_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res2a_branch2b_relu"
type: "ReLU"
bottom: "res2a_branch2b"
top: "res2a_branch2b"
}
layer {
name: "res2a_branch2c"
type: "Convolution"
bottom: "res2a_branch2b"
top: "res2a_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2a_branch2c"
type: "BatchNorm"
bottom: "res2a_branch2c"
top: "res2a_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2a_branch2c"
type: "Scale"
bottom: "res2a_branch2c"
top: "res2a_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res2a"
type: "Eltwise"
bottom: "res2a_branch1"
bottom: "res2a_branch2c"
top: "res2a"
}
layer {
name: "res2a_relu"
type: "ReLU"
bottom: "res2a"
top: "res2a"
}
layer {
name: "res2b_branch2a"
type: "Convolution"
bottom: "res2a"
top: "res2b_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2b_branch2a"
type: "BatchNorm"
bottom: "res2b_branch2a"
top: "res2b_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2b_branch2a"
type: "Scale"
bottom: "res2b_branch2a"
top: "res2b_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res2b_branch2a_relu"
type: "ReLU"
bottom: "res2b_branch2a"
top: "res2b_branch2a"
}
layer {
name: "res2b_branch2b"
type: "Convolution"
bottom: "res2b_branch2a"
top: "res2b_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2b_branch2b"
type: "BatchNorm"
bottom: "res2b_branch2b"
top: "res2b_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2b_branch2b"
type: "Scale"
bottom: "res2b_branch2b"
top: "res2b_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res2b_branch2b_relu"
type: "ReLU"
bottom: "res2b_branch2b"
top: "res2b_branch2b"
}
layer {
name: "res2b_branch2c"
type: "Convolution"
bottom: "res2b_branch2b"
top: "res2b_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2b_branch2c"
type: "BatchNorm"
bottom: "res2b_branch2c"
top: "res2b_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2b_branch2c"
type: "Scale"
bottom: "res2b_branch2c"
top: "res2b_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res2b"
type: "Eltwise"
bottom: "res2a"
bottom: "res2b_branch2c"
top: "res2b"
}
layer {
name: "res2b_relu"
type: "ReLU"
bottom: "res2b"
top: "res2b"
}
layer {
name: "res2c_branch2a"
type: "Convolution"
bottom: "res2b"
top: "res2c_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2c_branch2a"
type: "BatchNorm"
bottom: "res2c_branch2a"
top: "res2c_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2c_branch2a"
type: "Scale"
bottom: "res2c_branch2a"
top: "res2c_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res2c_branch2a_relu"
type: "ReLU"
bottom: "res2c_branch2a"
top: "res2c_branch2a"
}
layer {
name: "res2c_branch2b"
type: "Convolution"
bottom: "res2c_branch2a"
top: "res2c_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 64
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2c_branch2b"
type: "BatchNorm"
bottom: "res2c_branch2b"
top: "res2c_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2c_branch2b"
type: "Scale"
bottom: "res2c_branch2b"
top: "res2c_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res2c_branch2b_relu"
type: "ReLU"
bottom: "res2c_branch2b"
top: "res2c_branch2b"
}
layer {
name: "res2c_branch2c"
type: "Convolution"
bottom: "res2c_branch2b"
top: "res2c_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn2c_branch2c"
type: "BatchNorm"
bottom: "res2c_branch2c"
top: "res2c_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale2c_branch2c"
type: "Scale"
bottom: "res2c_branch2c"
top: "res2c_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res2c"
type: "Eltwise"
bottom: "res2b"
bottom: "res2c_branch2c"
top: "res2c"
}
layer {
name: "res2c_relu"
type: "ReLU"
bottom: "res2c"
top: "res2c"
}
layer {
name: "res3a_branch1"
type: "Convolution"
bottom: "res2c"
top: "res3a_branch1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3a_branch1"
type: "BatchNorm"
bottom: "res3a_branch1"
top: "res3a_branch1"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3a_branch1"
type: "Scale"
bottom: "res3a_branch1"
top: "res3a_branch1"
scale_param {
bias_term: true
}
}
layer {
name: "res3a_branch2a"
type: "Convolution"
bottom: "res2c"
top: "res3a_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3a_branch2a"
type: "BatchNorm"
bottom: "res3a_branch2a"
top: "res3a_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3a_branch2a"
type: "Scale"
bottom: "res3a_branch2a"
top: "res3a_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res3a_branch2a_relu"
type: "ReLU"
bottom: "res3a_branch2a"
top: "res3a_branch2a"
}
layer {
name: "res3a_branch2b"
type: "Convolution"
bottom: "res3a_branch2a"
top: "res3a_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3a_branch2b"
type: "BatchNorm"
bottom: "res3a_branch2b"
top: "res3a_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3a_branch2b"
type: "Scale"
bottom: "res3a_branch2b"
top: "res3a_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res3a_branch2b_relu"
type: "ReLU"
bottom: "res3a_branch2b"
top: "res3a_branch2b"
}
layer {
name: "res3a_branch2c"
type: "Convolution"
bottom: "res3a_branch2b"
top: "res3a_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3a_branch2c"
type: "BatchNorm"
bottom: "res3a_branch2c"
top: "res3a_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3a_branch2c"
type: "Scale"
bottom: "res3a_branch2c"
top: "res3a_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res3a"
type: "Eltwise"
bottom: "res3a_branch1"
bottom: "res3a_branch2c"
top: "res3a"
}
layer {
name: "res3a_relu"
type: "ReLU"
bottom: "res3a"
top: "res3a"
}
layer {
name: "res3b_branch2a"
type: "Convolution"
bottom: "res3a"
top: "res3b_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3b_branch2a"
type: "BatchNorm"
bottom: "res3b_branch2a"
top: "res3b_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3b_branch2a"
type: "Scale"
bottom: "res3b_branch2a"
top: "res3b_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res3b_branch2a_relu"
type: "ReLU"
bottom: "res3b_branch2a"
top: "res3b_branch2a"
}
layer {
name: "res3b_branch2b"
type: "Convolution"
bottom: "res3b_branch2a"
top: "res3b_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3b_branch2b"
type: "BatchNorm"
bottom: "res3b_branch2b"
top: "res3b_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3b_branch2b"
type: "Scale"
bottom: "res3b_branch2b"
top: "res3b_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res3b_branch2b_relu"
type: "ReLU"
bottom: "res3b_branch2b"
top: "res3b_branch2b"
}
layer {
name: "res3b_branch2c"
type: "Convolution"
bottom: "res3b_branch2b"
top: "res3b_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3b_branch2c"
type: "BatchNorm"
bottom: "res3b_branch2c"
top: "res3b_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3b_branch2c"
type: "Scale"
bottom: "res3b_branch2c"
top: "res3b_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res3b"
type: "Eltwise"
bottom: "res3a"
bottom: "res3b_branch2c"
top: "res3b"
}
layer {
name: "res3b_relu"
type: "ReLU"
bottom: "res3b"
top: "res3b"
}
layer {
name: "res3c_branch2a"
type: "Convolution"
bottom: "res3b"
top: "res3c_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3c_branch2a"
type: "BatchNorm"
bottom: "res3c_branch2a"
top: "res3c_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3c_branch2a"
type: "Scale"
bottom: "res3c_branch2a"
top: "res3c_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res3c_branch2a_relu"
type: "ReLU"
bottom: "res3c_branch2a"
top: "res3c_branch2a"
}
layer {
name: "res3c_branch2b"
type: "Convolution"
bottom: "res3c_branch2a"
top: "res3c_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3c_branch2b"
type: "BatchNorm"
bottom: "res3c_branch2b"
top: "res3c_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3c_branch2b"
type: "Scale"
bottom: "res3c_branch2b"
top: "res3c_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res3c_branch2b_relu"
type: "ReLU"
bottom: "res3c_branch2b"
top: "res3c_branch2b"
}
layer {
name: "res3c_branch2c"
type: "Convolution"
bottom: "res3c_branch2b"
top: "res3c_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3c_branch2c"
type: "BatchNorm"
bottom: "res3c_branch2c"
top: "res3c_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3c_branch2c"
type: "Scale"
bottom: "res3c_branch2c"
top: "res3c_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res3c"
type: "Eltwise"
bottom: "res3b"
bottom: "res3c_branch2c"
top: "res3c"
}
layer {
name: "res3c_relu"
type: "ReLU"
bottom: "res3c"
top: "res3c"
}
layer {
name: "res3d_branch2a"
type: "Convolution"
bottom: "res3c"
top: "res3d_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3d_branch2a"
type: "BatchNorm"
bottom: "res3d_branch2a"
top: "res3d_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3d_branch2a"
type: "Scale"
bottom: "res3d_branch2a"
top: "res3d_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res3d_branch2a_relu"
type: "ReLU"
bottom: "res3d_branch2a"
top: "res3d_branch2a"
}
layer {
name: "res3d_branch2b"
type: "Convolution"
bottom: "res3d_branch2a"
top: "res3d_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 128
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3d_branch2b"
type: "BatchNorm"
bottom: "res3d_branch2b"
top: "res3d_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3d_branch2b"
type: "Scale"
bottom: "res3d_branch2b"
top: "res3d_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res3d_branch2b_relu"
type: "ReLU"
bottom: "res3d_branch2b"
top: "res3d_branch2b"
}
layer {
name: "res3d_branch2c"
type: "Convolution"
bottom: "res3d_branch2b"
top: "res3d_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn3d_branch2c"
type: "BatchNorm"
bottom: "res3d_branch2c"
top: "res3d_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale3d_branch2c"
type: "Scale"
bottom: "res3d_branch2c"
top: "res3d_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res3d"
type: "Eltwise"
bottom: "res3c"
bottom: "res3d_branch2c"
top: "res3d"
}
layer {
name: "res3d_relu"
type: "ReLU"
bottom: "res3d"
top: "res3d"
}
layer {
name: "res4a_branch1"
type: "Convolution"
bottom: "res3d"
top: "res4a_branch1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4a_branch1"
type: "BatchNorm"
bottom: "res4a_branch1"
top: "res4a_branch1"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4a_branch1"
type: "Scale"
bottom: "res4a_branch1"
top: "res4a_branch1"
scale_param {
bias_term: true
}
}
layer {
name: "res4a_branch2a"
type: "Convolution"
bottom: "res3d"
top: "res4a_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4a_branch2a"
type: "BatchNorm"
bottom: "res4a_branch2a"
top: "res4a_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4a_branch2a"
type: "Scale"
bottom: "res4a_branch2a"
top: "res4a_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4a_branch2a_relu"
type: "ReLU"
bottom: "res4a_branch2a"
top: "res4a_branch2a"
}
layer {
name: "res4a_branch2b"
type: "Convolution"
bottom: "res4a_branch2a"
top: "res4a_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4a_branch2b"
type: "BatchNorm"
bottom: "res4a_branch2b"
top: "res4a_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4a_branch2b"
type: "Scale"
bottom: "res4a_branch2b"
top: "res4a_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4a_branch2b_relu"
type: "ReLU"
bottom: "res4a_branch2b"
top: "res4a_branch2b"
}
layer {
name: "res4a_branch2c"
type: "Convolution"
bottom: "res4a_branch2b"
top: "res4a_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4a_branch2c"
type: "BatchNorm"
bottom: "res4a_branch2c"
top: "res4a_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4a_branch2c"
type: "Scale"
bottom: "res4a_branch2c"
top: "res4a_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4a"
type: "Eltwise"
bottom: "res4a_branch1"
bottom: "res4a_branch2c"
top: "res4a"
}
layer {
name: "res4a_relu"
type: "ReLU"
bottom: "res4a"
top: "res4a"
}
layer {
name: "res4b_branch2a"
type: "Convolution"
bottom: "res4a"
top: "res4b_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4b_branch2a"
type: "BatchNorm"
bottom: "res4b_branch2a"
top: "res4b_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4b_branch2a"
type: "Scale"
bottom: "res4b_branch2a"
top: "res4b_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4b_branch2a_relu"
type: "ReLU"
bottom: "res4b_branch2a"
top: "res4b_branch2a"
}
layer {
name: "res4b_branch2b"
type: "Convolution"
bottom: "res4b_branch2a"
top: "res4b_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4b_branch2b"
type: "BatchNorm"
bottom: "res4b_branch2b"
top: "res4b_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4b_branch2b"
type: "Scale"
bottom: "res4b_branch2b"
top: "res4b_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4b_branch2b_relu"
type: "ReLU"
bottom: "res4b_branch2b"
top: "res4b_branch2b"
}
layer {
name: "res4b_branch2c"
type: "Convolution"
bottom: "res4b_branch2b"
top: "res4b_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4b_branch2c"
type: "BatchNorm"
bottom: "res4b_branch2c"
top: "res4b_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4b_branch2c"
type: "Scale"
bottom: "res4b_branch2c"
top: "res4b_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4b"
type: "Eltwise"
bottom: "res4a"
bottom: "res4b_branch2c"
top: "res4b"
}
layer {
name: "res4b_relu"
type: "ReLU"
bottom: "res4b"
top: "res4b"
}
layer {
name: "res4c_branch2a"
type: "Convolution"
bottom: "res4b"
top: "res4c_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4c_branch2a"
type: "BatchNorm"
bottom: "res4c_branch2a"
top: "res4c_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4c_branch2a"
type: "Scale"
bottom: "res4c_branch2a"
top: "res4c_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4c_branch2a_relu"
type: "ReLU"
bottom: "res4c_branch2a"
top: "res4c_branch2a"
}
layer {
name: "res4c_branch2b"
type: "Convolution"
bottom: "res4c_branch2a"
top: "res4c_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4c_branch2b"
type: "BatchNorm"
bottom: "res4c_branch2b"
top: "res4c_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4c_branch2b"
type: "Scale"
bottom: "res4c_branch2b"
top: "res4c_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4c_branch2b_relu"
type: "ReLU"
bottom: "res4c_branch2b"
top: "res4c_branch2b"
}
layer {
name: "res4c_branch2c"
type: "Convolution"
bottom: "res4c_branch2b"
top: "res4c_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4c_branch2c"
type: "BatchNorm"
bottom: "res4c_branch2c"
top: "res4c_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4c_branch2c"
type: "Scale"
bottom: "res4c_branch2c"
top: "res4c_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4c"
type: "Eltwise"
bottom: "res4b"
bottom: "res4c_branch2c"
top: "res4c"
}
layer {
name: "res4c_relu"
type: "ReLU"
bottom: "res4c"
top: "res4c"
}
layer {
name: "res4d_branch2a"
type: "Convolution"
bottom: "res4c"
top: "res4d_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4d_branch2a"
type: "BatchNorm"
bottom: "res4d_branch2a"
top: "res4d_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4d_branch2a"
type: "Scale"
bottom: "res4d_branch2a"
top: "res4d_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4d_branch2a_relu"
type: "ReLU"
bottom: "res4d_branch2a"
top: "res4d_branch2a"
}
layer {
name: "res4d_branch2b"
type: "Convolution"
bottom: "res4d_branch2a"
top: "res4d_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4d_branch2b"
type: "BatchNorm"
bottom: "res4d_branch2b"
top: "res4d_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4d_branch2b"
type: "Scale"
bottom: "res4d_branch2b"
top: "res4d_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4d_branch2b_relu"
type: "ReLU"
bottom: "res4d_branch2b"
top: "res4d_branch2b"
}
layer {
name: "res4d_branch2c"
type: "Convolution"
bottom: "res4d_branch2b"
top: "res4d_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4d_branch2c"
type: "BatchNorm"
bottom: "res4d_branch2c"
top: "res4d_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4d_branch2c"
type: "Scale"
bottom: "res4d_branch2c"
top: "res4d_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4d"
type: "Eltwise"
bottom: "res4c"
bottom: "res4d_branch2c"
top: "res4d"
}
layer {
name: "res4d_relu"
type: "ReLU"
bottom: "res4d"
top: "res4d"
}
layer {
name: "res4e_branch2a"
type: "Convolution"
bottom: "res4d"
top: "res4e_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4e_branch2a"
type: "BatchNorm"
bottom: "res4e_branch2a"
top: "res4e_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4e_branch2a"
type: "Scale"
bottom: "res4e_branch2a"
top: "res4e_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4e_branch2a_relu"
type: "ReLU"
bottom: "res4e_branch2a"
top: "res4e_branch2a"
}
layer {
name: "res4e_branch2b"
type: "Convolution"
bottom: "res4e_branch2a"
top: "res4e_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4e_branch2b"
type: "BatchNorm"
bottom: "res4e_branch2b"
top: "res4e_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4e_branch2b"
type: "Scale"
bottom: "res4e_branch2b"
top: "res4e_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4e_branch2b_relu"
type: "ReLU"
bottom: "res4e_branch2b"
top: "res4e_branch2b"
}
layer {
name: "res4e_branch2c"
type: "Convolution"
bottom: "res4e_branch2b"
top: "res4e_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4e_branch2c"
type: "BatchNorm"
bottom: "res4e_branch2c"
top: "res4e_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4e_branch2c"
type: "Scale"
bottom: "res4e_branch2c"
top: "res4e_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4e"
type: "Eltwise"
bottom: "res4d"
bottom: "res4e_branch2c"
top: "res4e"
}
layer {
name: "res4e_relu"
type: "ReLU"
bottom: "res4e"
top: "res4e"
}
layer {
name: "res4f_branch2a"
type: "Convolution"
bottom: "res4e"
top: "res4f_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4f_branch2a"
type: "BatchNorm"
bottom: "res4f_branch2a"
top: "res4f_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4f_branch2a"
type: "Scale"
bottom: "res4f_branch2a"
top: "res4f_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res4f_branch2a_relu"
type: "ReLU"
bottom: "res4f_branch2a"
top: "res4f_branch2a"
}
layer {
name: "res4f_branch2b"
type: "Convolution"
bottom: "res4f_branch2a"
top: "res4f_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 256
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4f_branch2b"
type: "BatchNorm"
bottom: "res4f_branch2b"
top: "res4f_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4f_branch2b"
type: "Scale"
bottom: "res4f_branch2b"
top: "res4f_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res4f_branch2b_relu"
type: "ReLU"
bottom: "res4f_branch2b"
top: "res4f_branch2b"
}
layer {
name: "res4f_branch2c"
type: "Convolution"
bottom: "res4f_branch2b"
top: "res4f_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 1024
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn4f_branch2c"
type: "BatchNorm"
bottom: "res4f_branch2c"
top: "res4f_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale4f_branch2c"
type: "Scale"
bottom: "res4f_branch2c"
top: "res4f_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res4f"
type: "Eltwise"
bottom: "res4e"
bottom: "res4f_branch2c"
top: "res4f"
}
layer {
name: "res4f_relu"
type: "ReLU"
bottom: "res4f"
top: "res4f"
}
layer {
name: "res5a_branch1"
type: "Convolution"
bottom: "res4f"
top: "res5a_branch1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 2048
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5a_branch1"
type: "BatchNorm"
bottom: "res5a_branch1"
top: "res5a_branch1"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5a_branch1"
type: "Scale"
bottom: "res5a_branch1"
top: "res5a_branch1"
scale_param {
bias_term: true
}
}
layer {
name: "res5a_branch2a"
type: "Convolution"
bottom: "res4f"
top: "res5a_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 2
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5a_branch2a"
type: "BatchNorm"
bottom: "res5a_branch2a"
top: "res5a_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5a_branch2a"
type: "Scale"
bottom: "res5a_branch2a"
top: "res5a_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res5a_branch2a_relu"
type: "ReLU"
bottom: "res5a_branch2a"
top: "res5a_branch2a"
}
layer {
name: "res5a_branch2b"
type: "Convolution"
bottom: "res5a_branch2a"
top: "res5a_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5a_branch2b"
type: "BatchNorm"
bottom: "res5a_branch2b"
top: "res5a_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5a_branch2b"
type: "Scale"
bottom: "res5a_branch2b"
top: "res5a_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res5a_branch2b_relu"
type: "ReLU"
bottom: "res5a_branch2b"
top: "res5a_branch2b"
}
layer {
name: "res5a_branch2c"
type: "Convolution"
bottom: "res5a_branch2b"
top: "res5a_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 2048
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5a_branch2c"
type: "BatchNorm"
bottom: "res5a_branch2c"
top: "res5a_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5a_branch2c"
type: "Scale"
bottom: "res5a_branch2c"
top: "res5a_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res5a"
type: "Eltwise"
bottom: "res5a_branch1"
bottom: "res5a_branch2c"
top: "res5a"
}
layer {
name: "res5a_relu"
type: "ReLU"
bottom: "res5a"
top: "res5a"
}
layer {
name: "res5b_branch2a"
type: "Convolution"
bottom: "res5a"
top: "res5b_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5b_branch2a"
type: "BatchNorm"
bottom: "res5b_branch2a"
top: "res5b_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5b_branch2a"
type: "Scale"
bottom: "res5b_branch2a"
top: "res5b_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res5b_branch2a_relu"
type: "ReLU"
bottom: "res5b_branch2a"
top: "res5b_branch2a"
}
layer {
name: "res5b_branch2b"
type: "Convolution"
bottom: "res5b_branch2a"
top: "res5b_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5b_branch2b"
type: "BatchNorm"
bottom: "res5b_branch2b"
top: "res5b_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5b_branch2b"
type: "Scale"
bottom: "res5b_branch2b"
top: "res5b_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res5b_branch2b_relu"
type: "ReLU"
bottom: "res5b_branch2b"
top: "res5b_branch2b"
}
layer {
name: "res5b_branch2c"
type: "Convolution"
bottom: "res5b_branch2b"
top: "res5b_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 2048
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5b_branch2c"
type: "BatchNorm"
bottom: "res5b_branch2c"
top: "res5b_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5b_branch2c"
type: "Scale"
bottom: "res5b_branch2c"
top: "res5b_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res5b"
type: "Eltwise"
bottom: "res5a"
bottom: "res5b_branch2c"
top: "res5b"
}
layer {
name: "res5b_relu"
type: "ReLU"
bottom: "res5b"
top: "res5b"
}
layer {
name: "res5c_branch2a"
type: "Convolution"
bottom: "res5b"
top: "res5c_branch2a"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5c_branch2a"
type: "BatchNorm"
bottom: "res5c_branch2a"
top: "res5c_branch2a"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5c_branch2a"
type: "Scale"
bottom: "res5c_branch2a"
top: "res5c_branch2a"
scale_param {
bias_term: true
}
}
layer {
name: "res5c_branch2a_relu"
type: "ReLU"
bottom: "res5c_branch2a"
top: "res5c_branch2a"
}
layer {
name: "res5c_branch2b"
type: "Convolution"
bottom: "res5c_branch2a"
top: "res5c_branch2b"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 512
bias_term: false
pad: 1
kernel_size: 3
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5c_branch2b"
type: "BatchNorm"
bottom: "res5c_branch2b"
top: "res5c_branch2b"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5c_branch2b"
type: "Scale"
bottom: "res5c_branch2b"
top: "res5c_branch2b"
scale_param {
bias_term: true
}
}
layer {
name: "res5c_branch2b_relu"
type: "ReLU"
bottom: "res5c_branch2b"
top: "res5c_branch2b"
}
layer {
name: "res5c_branch2c"
type: "Convolution"
bottom: "res5c_branch2b"
top: "res5c_branch2c"
param {
lr_mult: 1.0
decay_mult: 1.0
}
convolution_param {
num_output: 2048
bias_term: false
pad: 0
kernel_size: 1
stride: 1
weight_filler {
type: "msra"
}
}
}
layer {
name: "bn5c_branch2c"
type: "BatchNorm"
bottom: "res5c_branch2c"
top: "res5c_branch2c"
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}
layer {
name: "scale5c_branch2c"
type: "Scale"
bottom: "res5c_branch2c"
top: "res5c_branch2c"
scale_param {
bias_term: true
}
}
layer {
name: "res5c"
type: "Eltwise"
bottom: "res5b"
bottom: "res5c_branch2c"
top: "res5c"
}
layer {
name: "res5c_relu"
type: "ReLU"
bottom: "res5c"
top: "res5c"
}
layer {
name: "pool5"
type: "Pooling"
bottom: "res5c"
top: "pool5"
pooling_param {
pool: AVE
kernel_size: 7
stride: 1
}
}
layer {
name: "fc1000"
type: "InnerProduct"
bottom: "pool5"
top: "fc1000"
inner_product_param {
num_output: 1000
}
}
layer {
name: "loss"
type: "SoftmaxWithLoss"
bottom: "fc1000"
bottom: "label"
top: "loss/loss"
}
layer {
name: "accuracy/top1"
type: "Accuracy"
bottom: "fc1000"
bottom: "label"
top: "acc@1"
accuracy_param {
top_k: 1
}
}
layer {
name: "accuracy/top5"
type: "Accuracy"
bottom: "fc1000"
bottom: "label"
top: "acc@5"
accuracy_param {
top_k: 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment