Last active
August 16, 2016 18:21
-
-
Save drinkingkazu/81531cf25e314f84c6412beaa2ce32cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ResNetPlane2" | |
############ Data Layer ########### | |
layer { | |
name: "data" | |
type: "ROOTData" | |
top: "data" | |
top: "label" | |
root_data_param { | |
batch_size: 18 | |
filler_config: "train_filler_singlep.cfg" | |
filler_name: "Train" | |
} | |
} | |
layer { | |
name: "data_trimese" | |
type: "Slice" | |
bottom: "data" | |
top: "plane0_data" | |
top: "plane1_data" | |
top: "plane2_data" | |
slice_param { | |
slice_point: 1 | |
slice_point: 2 | |
axis: 1 | |
} | |
} | |
layer { | |
name: "silence_plane0" | |
type: "Silence" | |
bottom: "plane0_data" | |
} | |
layer { | |
name: "silence_plane1" | |
type: "Silence" | |
bottom: "plane1_data" | |
} | |
#layer { | |
# name: "silence_plane2" | |
# type: "Silence" | |
# bottom: "plane2_data" | |
#} | |
############ Actual Net ########### | |
layer { | |
bottom: "plane2_data" | |
top: "plane2_conv1" | |
name: "plane2_conv1" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 7 | |
pad: 3 | |
stride: 2 | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_conv1" | |
top: "plane2_conv1" | |
name: "plane2_bn_conv1" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_conv1" | |
top: "plane2_conv1" | |
name: "plane2_scale_conv1" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_conv1" | |
top: "plane2_conv1" | |
name: "plane2_conv1_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_conv1" | |
top: "plane2_pool1" | |
name: "plane2_pool1" | |
type: "Pooling" | |
pooling_param { | |
kernel_size: 3 | |
stride: 2 | |
pool: MAX | |
} | |
} | |
layer { | |
bottom: "plane2_pool1" | |
top: "plane2_res2a_branch1" | |
name: "plane2_res2a_branch1" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch1" | |
top: "plane2_res2a_branch1" | |
name: "plane2_bn2a_branch1" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch1" | |
top: "plane2_res2a_branch1" | |
name: "scale2a_branch1" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_pool1" | |
top: "plane2_res2a_branch2a" | |
name: "plane2_res2a_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch2a" | |
top: "plane2_res2a_branch2a" | |
name: "plane2_bn2a_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch2a" | |
top: "plane2_res2a_branch2a" | |
name: "scale2a_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch2a" | |
top: "plane2_res2a_branch2a" | |
name: "plane2_res2a_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res2a_branch2a" | |
top: "plane2_res2a_branch2b" | |
name: "plane2_res2a_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch2b" | |
top: "plane2_res2a_branch2b" | |
name: "plane2_bn2a_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch2b" | |
top: "plane2_res2a_branch2b" | |
name: "scale2a_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res2a_branch1" | |
bottom: "plane2_res2a_branch2b" | |
top: "plane2_res2a" | |
name: "plane2_res2a" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res2a" | |
top: "plane2_res2a" | |
name: "plane2_res2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res2a" | |
top: "plane2_res2b_branch2a" | |
name: "plane2_res2b_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res2b_branch2a" | |
top: "plane2_res2b_branch2a" | |
name: "plane2_bn2b_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res2b_branch2a" | |
top: "plane2_res2b_branch2a" | |
name: "scale2b_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res2b_branch2a" | |
top: "plane2_res2b_branch2a" | |
name: "plane2_res2b_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res2b_branch2a" | |
top: "plane2_res2b_branch2b" | |
name: "plane2_res2b_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res2b_branch2b" | |
top: "plane2_res2b_branch2b" | |
name: "plane2_bn2b_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res2b_branch2b" | |
top: "plane2_res2b_branch2b" | |
name: "scale2b_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res2a" | |
bottom: "plane2_res2b_branch2b" | |
top: "plane2_res2b" | |
name: "plane2_res2b" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res2b" | |
top: "plane2_res2b" | |
name: "plane2_res2b_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res2b" | |
top: "plane2_res3a_branch1" | |
name: "plane2_res3a_branch1" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch1" | |
top: "plane2_res3a_branch1" | |
name: "plane2_bn3a_branch1" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch1" | |
top: "plane2_res3a_branch1" | |
name: "scale3a_branch1" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res2b" | |
top: "plane2_res3a_branch2a" | |
name: "plane2_res3a_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch2a" | |
top: "plane2_res3a_branch2a" | |
name: "plane2_bn3a_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch2a" | |
top: "plane2_res3a_branch2a" | |
name: "scale3a_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch2a" | |
top: "plane2_res3a_branch2a" | |
name: "plane2_res3a_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3a_branch2a" | |
top: "plane2_res3a_branch2b" | |
name: "plane2_res3a_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch2b" | |
top: "plane2_res3a_branch2b" | |
name: "plane2_bn3a_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch2b" | |
top: "plane2_res3a_branch2b" | |
name: "scale3a_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3a_branch1" | |
bottom: "plane2_res3a_branch2b" | |
top: "plane2_res3a" | |
name: "plane2_res3a" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res3a" | |
top: "plane2_res3a" | |
name: "plane2_res3a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3a" | |
top: "plane2_res3b_branch2a" | |
name: "plane2_res3b_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3b_branch2a" | |
top: "plane2_res3b_branch2a" | |
name: "plane2_bn3b_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3b_branch2a" | |
top: "plane2_res3b_branch2a" | |
name: "scale3b_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3b_branch2a" | |
top: "plane2_res3b_branch2a" | |
name: "plane2_res3b_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3b_branch2a" | |
top: "plane2_res3b_branch2b" | |
name: "plane2_res3b_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3b_branch2b" | |
top: "plane2_res3b_branch2b" | |
name: "plane2_bn3b_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3b_branch2b" | |
top: "plane2_res3b_branch2b" | |
name: "scale3b_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3a" | |
bottom: "plane2_res3b_branch2b" | |
top: "plane2_res3b" | |
name: "plane2_res3b" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res3b" | |
top: "plane2_res3b" | |
name: "plane2_res3b_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3b" | |
top: "plane2_res3c_branch2a" | |
name: "plane2_res3c_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3c_branch2a" | |
top: "plane2_res3c_branch2a" | |
name: "plane2_bn3c_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3c_branch2a" | |
top: "plane2_res3c_branch2a" | |
name: "scale3c_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3c_branch2a" | |
top: "plane2_res3c_branch2a" | |
name: "plane2_res3c_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3c_branch2a" | |
top: "plane2_res3c_branch2b" | |
name: "plane2_res3c_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 128 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res3c_branch2b" | |
top: "plane2_res3c_branch2b" | |
name: "plane2_bn3c_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res3c_branch2b" | |
top: "plane2_res3c_branch2b" | |
name: "scale3c_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3b" | |
bottom: "plane2_res3c_branch2b" | |
top: "plane2_res3c" | |
name: "plane2_res3c" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res3c" | |
top: "plane2_res3c" | |
name: "plane2_res3c_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res3c" | |
top: "plane2_res4a_branch1" | |
name: "plane2_res4a_branch1" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch1" | |
top: "plane2_res4a_branch1" | |
name: "plane2_bn4a_branch1" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch1" | |
top: "plane2_res4a_branch1" | |
name: "scale4a_branch1" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res3c" | |
top: "plane2_res4a_branch2a" | |
name: "plane2_res4a_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch2a" | |
top: "plane2_res4a_branch2a" | |
name: "plane2_bn4a_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch2a" | |
top: "plane2_res4a_branch2a" | |
name: "scale4a_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch2a" | |
top: "plane2_res4a_branch2a" | |
name: "plane2_res4a_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4a_branch2a" | |
top: "plane2_res4a_branch2b" | |
name: "plane2_res4a_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch2b" | |
top: "plane2_res4a_branch2b" | |
name: "plane2_bn4a_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch2b" | |
top: "plane2_res4a_branch2b" | |
name: "scale4a_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4a_branch1" | |
bottom: "plane2_res4a_branch2b" | |
top: "plane2_res4a" | |
name: "plane2_res4a" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res4a" | |
top: "plane2_res4a" | |
name: "plane2_res4a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4a" | |
top: "plane2_res4b_branch2a" | |
name: "plane2_res4b_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4b_branch2a" | |
top: "plane2_res4b_branch2a" | |
name: "plane2_bn4b_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4b_branch2a" | |
top: "plane2_res4b_branch2a" | |
name: "scale4b_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4b_branch2a" | |
top: "plane2_res4b_branch2a" | |
name: "plane2_res4b_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4b_branch2a" | |
top: "plane2_res4b_branch2b" | |
name: "plane2_res4b_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4b_branch2b" | |
top: "plane2_res4b_branch2b" | |
name: "plane2_bn4b_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4b_branch2b" | |
top: "plane2_res4b_branch2b" | |
name: "scale4b_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4a" | |
bottom: "plane2_res4b_branch2b" | |
top: "plane2_res4b" | |
name: "plane2_res4b" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res4b" | |
top: "plane2_res4b" | |
name: "plane2_res4b_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4b" | |
top: "plane2_res4c_branch2a" | |
name: "plane2_res4c_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4c_branch2a" | |
top: "plane2_res4c_branch2a" | |
name: "plane2_bn4c_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4c_branch2a" | |
top: "plane2_res4c_branch2a" | |
name: "scale4c_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4c_branch2a" | |
top: "plane2_res4c_branch2a" | |
name: "plane2_res4c_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4c_branch2a" | |
top: "plane2_res4c_branch2b" | |
name: "plane2_res4c_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4c_branch2b" | |
top: "plane2_res4c_branch2b" | |
name: "plane2_bn4c_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4c_branch2b" | |
top: "plane2_res4c_branch2b" | |
name: "scale4c_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4b" | |
bottom: "plane2_res4c_branch2b" | |
top: "plane2_res4c" | |
name: "plane2_res4c" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res4c" | |
top: "plane2_res4c" | |
name: "plane2_res4c_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4c" | |
top: "plane2_res4d_branch2a" | |
name: "plane2_res4d_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4d_branch2a" | |
top: "plane2_res4d_branch2a" | |
name: "plane2_bn4d_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4d_branch2a" | |
top: "plane2_res4d_branch2a" | |
name: "scale4d_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4d_branch2a" | |
top: "plane2_res4d_branch2a" | |
name: "plane2_res4d_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4d_branch2a" | |
top: "plane2_res4d_branch2b" | |
name: "plane2_res4d_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 256 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res4d_branch2b" | |
top: "plane2_res4d_branch2b" | |
name: "plane2_bn4d_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res4d_branch2b" | |
top: "plane2_res4d_branch2b" | |
name: "scale4d_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4c" | |
bottom: "plane2_res4d_branch2b" | |
top: "plane2_res4d" | |
name: "plane2_res4d" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res4d" | |
top: "plane2_res4d" | |
name: "plane2_res4d_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res4d" | |
top: "plane2_res5a_branch1" | |
name: "plane2_res5a_branch1" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch1" | |
top: "plane2_res5a_branch1" | |
name: "plane2_bn5a_branch1" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch1" | |
top: "plane2_res5a_branch1" | |
name: "scale5a_branch1" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res4d" | |
top: "plane2_res5a_branch2a" | |
name: "plane2_res5a_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 2 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch2a" | |
top: "plane2_res5a_branch2a" | |
name: "plane2_bn5a_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch2a" | |
top: "plane2_res5a_branch2a" | |
name: "scale5a_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch2a" | |
top: "plane2_res5a_branch2a" | |
name: "plane2_res5a_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5a_branch2a" | |
top: "plane2_res5a_branch2b" | |
name: "plane2_res5a_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch2b" | |
top: "plane2_res5a_branch2b" | |
name: "plane2_bn5a_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch2b" | |
top: "plane2_res5a_branch2b" | |
name: "scale5a_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5a_branch1" | |
bottom: "plane2_res5a_branch2b" | |
top: "plane2_res5a" | |
name: "plane2_res5a" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res5a" | |
top: "plane2_res5a" | |
name: "plane2_res5a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5a" | |
top: "plane2_res5b_branch2a" | |
name: "plane2_res5b_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5b_branch2a" | |
top: "plane2_res5b_branch2a" | |
name: "plane2_bn5b_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5b_branch2a" | |
top: "plane2_res5b_branch2a" | |
name: "scale5b_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5b_branch2a" | |
top: "plane2_res5b_branch2a" | |
name: "plane2_res5b_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5b_branch2a" | |
top: "plane2_res5b_branch2b" | |
name: "plane2_res5b_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5b_branch2b" | |
top: "plane2_res5b_branch2b" | |
name: "plane2_bn5b_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5b_branch2b" | |
top: "plane2_res5b_branch2b" | |
name: "scale5b_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5a" | |
bottom: "plane2_res5b_branch2b" | |
top: "plane2_res5b" | |
name: "plane2_res5b" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res5b" | |
top: "plane2_res5b" | |
name: "plane2_res5b_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5b" | |
top: "plane2_res5c_branch2a" | |
name: "plane2_res5c_branch2a" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5c_branch2a" | |
top: "plane2_res5c_branch2a" | |
name: "plane2_bn5c_branch2a" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5c_branch2a" | |
top: "plane2_res5c_branch2a" | |
name: "scale5c_branch2a" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5c_branch2a" | |
top: "plane2_res5c_branch2a" | |
name: "plane2_res5c_branch2a_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5c_branch2a" | |
top: "plane2_res5c_branch2b" | |
name: "plane2_res5c_branch2b" | |
type: "Convolution" | |
convolution_param { | |
num_output: 512 | |
kernel_size: 3 | |
pad: 1 | |
stride: 1 | |
bias_term: false | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
bottom: "plane2_res5c_branch2b" | |
top: "plane2_res5c_branch2b" | |
name: "plane2_bn5c_branch2b" | |
type: "BatchNorm" | |
batch_norm_param { | |
use_global_stats: false | |
} | |
} | |
layer { | |
bottom: "plane2_res5c_branch2b" | |
top: "plane2_res5c_branch2b" | |
name: "scale5c_branch2b" | |
type: "Scale" | |
scale_param { | |
bias_term: true | |
} | |
} | |
layer { | |
bottom: "plane2_res5b" | |
bottom: "plane2_res5c_branch2b" | |
top: "plane2_res5c" | |
name: "plane2_res5c" | |
type: "Eltwise" | |
} | |
layer { | |
bottom: "plane2_res5c" | |
top: "plane2_res5c" | |
name: "plane2_res5c_relu" | |
type: "ReLU" | |
} | |
layer { | |
bottom: "plane2_res5c" | |
top: "pool5" | |
name: "pool5" | |
type: "Pooling" | |
pooling_param { | |
kernel_size: 18 | |
stride: 1 | |
pool: AVE | |
} | |
} | |
#layer { | |
# bottom: "pool5" | |
# top: "fc5" | |
# name: "fc5" | |
# type: "InnerProduct" | |
# inner_product_param { | |
# num_output: 5 | |
# } | |
#} | |
#layer { | |
# bottom: "fc5" | |
# top: "prob" | |
# name: "prob" | |
# type: "Softmax" | |
#} | |
layer { | |
name: "fc" | |
bottom: "pool5" | |
top: "fc" | |
type: "InnerProduct" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 0 | |
} | |
inner_product_param { | |
num_output: 5 | |
weight_filler { | |
type: "msra" | |
} | |
} | |
} | |
layer { | |
name: "acc" | |
type: "Accuracy" | |
bottom: "fc" | |
bottom: "label" | |
top: "acc" | |
} | |
layer { | |
name: "loss" | |
type: "SoftmaxWithLoss" | |
bottom: "fc" | |
bottom: "label" | |
top: "loss" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment