Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: "asl-resnet-depth3-width46-cifar10"
- layer {
- name: "data"
- type: "Data"
- top: "data"
- top: "label"
- include {
- phase: TRAIN
- }
- transform_param {
- mirror: true
- crop_size: 32
- mean_value: 0.0
- }
- data_param {
- source: "data_result/train"
- batch_size: 128
- backend: LMDB
- }
- }
- layer {
- name: "data"
- type: "Data"
- top: "data"
- top: "label"
- include {
- phase: TEST
- }
- transform_param {
- mean_value: 0.0
- }
- data_param {
- source: "data_result/test"
- batch_size: 100
- backend: LMDB
- }
- }
- layer {
- name: "first_conv"
- type: "Convolution"
- bottom: "data"
- top: "first_conv"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 1
- kernel_size: 3
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block0_bn0"
- type: "BatchNorm"
- bottom: "first_conv"
- top: "group0_block0_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block0_scale0"
- type: "Scale"
- bottom: "group0_block0_bn0"
- top: "group0_block0_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block0_relu0"
- type: "ReLU"
- bottom: "group0_block0_bn0"
- top: "group0_block0_bn0"
- }
- layer {
- name: "group0_block0_conv0"
- type: "Convolution"
- bottom: "group0_block0_bn0"
- top: "group0_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block0_bn1"
- type: "BatchNorm"
- bottom: "group0_block0_conv0"
- top: "group0_block0_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block0_scale1"
- type: "Scale"
- bottom: "group0_block0_conv0"
- top: "group0_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block0_relu1"
- type: "ReLU"
- bottom: "group0_block0_conv0"
- top: "group0_block0_conv0"
- }
- layer {
- name: "group0_block0_asl"
- type: "ActiveShift"
- bottom: "group0_block0_conv0"
- top: "group0_block0_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group0_block0_conv1"
- type: "Convolution"
- bottom: "group0_block0_asl"
- top: "group0_block0_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block0_sum"
- type: "Eltwise"
- bottom: "first_conv"
- bottom: "group0_block0_conv1"
- top: "group0_block0_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group0_block1_bn0"
- type: "BatchNorm"
- bottom: "group0_block0_sum"
- top: "group0_block1_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block1_scale0"
- type: "Scale"
- bottom: "group0_block1_bn0"
- top: "group0_block1_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block1_relu0"
- type: "ReLU"
- bottom: "group0_block1_bn0"
- top: "group0_block1_bn0"
- }
- layer {
- name: "group0_block1_conv0"
- type: "Convolution"
- bottom: "group0_block1_bn0"
- top: "group0_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block1_bn1"
- type: "BatchNorm"
- bottom: "group0_block1_conv0"
- top: "group0_block1_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block1_scale1"
- type: "Scale"
- bottom: "group0_block1_conv0"
- top: "group0_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block1_relu1"
- type: "ReLU"
- bottom: "group0_block1_conv0"
- top: "group0_block1_conv0"
- }
- layer {
- name: "group0_block1_asl"
- type: "ActiveShift"
- bottom: "group0_block1_conv0"
- top: "group0_block1_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group0_block1_conv1"
- type: "Convolution"
- bottom: "group0_block1_asl"
- top: "group0_block1_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block1_sum"
- type: "Eltwise"
- bottom: "group0_block0_sum"
- bottom: "group0_block1_conv1"
- top: "group0_block1_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group0_block2_bn0"
- type: "BatchNorm"
- bottom: "group0_block1_sum"
- top: "group0_block2_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block2_scale0"
- type: "Scale"
- bottom: "group0_block2_bn0"
- top: "group0_block2_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block2_relu0"
- type: "ReLU"
- bottom: "group0_block2_bn0"
- top: "group0_block2_bn0"
- }
- layer {
- name: "group0_block2_conv0"
- type: "Convolution"
- bottom: "group0_block2_bn0"
- top: "group0_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block2_bn1"
- type: "BatchNorm"
- bottom: "group0_block2_conv0"
- top: "group0_block2_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group0_block2_scale1"
- type: "Scale"
- bottom: "group0_block2_conv0"
- top: "group0_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group0_block2_relu1"
- type: "ReLU"
- bottom: "group0_block2_conv0"
- top: "group0_block2_conv0"
- }
- layer {
- name: "group0_block2_asl"
- type: "ActiveShift"
- bottom: "group0_block2_conv0"
- top: "group0_block2_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group0_block2_conv1"
- type: "Convolution"
- bottom: "group0_block2_asl"
- top: "group0_block2_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 46
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group0_block2_sum"
- type: "Eltwise"
- bottom: "group0_block1_sum"
- bottom: "group0_block2_conv1"
- top: "group0_block2_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group1_block0_bn0"
- type: "BatchNorm"
- bottom: "group0_block2_sum"
- top: "group1_block0_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block0_scale0"
- type: "Scale"
- bottom: "group1_block0_bn0"
- top: "group1_block0_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block0_relu0"
- type: "ReLU"
- bottom: "group1_block0_bn0"
- top: "group1_block0_bn0"
- }
- layer {
- name: "group1_block0_conv0"
- type: "Convolution"
- bottom: "group1_block0_bn0"
- top: "group1_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block0_bn1"
- type: "BatchNorm"
- bottom: "group1_block0_conv0"
- top: "group1_block0_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block0_scale1"
- type: "Scale"
- bottom: "group1_block0_conv0"
- top: "group1_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block0_relu1"
- type: "ReLU"
- bottom: "group1_block0_conv0"
- top: "group1_block0_conv0"
- }
- layer {
- name: "group1_block0_asl"
- type: "ActiveShift"
- bottom: "group1_block0_conv0"
- top: "group1_block0_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 2
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group1_block0_conv1"
- type: "Convolution"
- bottom: "group1_block0_asl"
- top: "group1_block0_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block0_proj"
- type: "Convolution"
- bottom: "group1_block0_bn0"
- top: "group1_block0_proj"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 2.0
- decay_mult: 0.0
- }
- convolution_param {
- num_output: 92
- pad: 0
- kernel_size: 1
- group: 1
- stride: 2
- weight_filler {
- type: "msra"
- }
- bias_filler {
- type: "constant"
- value: 0.0
- }
- }
- }
- layer {
- name: "group1_block0_sum"
- type: "Eltwise"
- bottom: "group1_block0_proj"
- bottom: "group1_block0_conv1"
- top: "group1_block0_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group1_block1_bn0"
- type: "BatchNorm"
- bottom: "group1_block0_sum"
- top: "group1_block1_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block1_scale0"
- type: "Scale"
- bottom: "group1_block1_bn0"
- top: "group1_block1_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block1_relu0"
- type: "ReLU"
- bottom: "group1_block1_bn0"
- top: "group1_block1_bn0"
- }
- layer {
- name: "group1_block1_conv0"
- type: "Convolution"
- bottom: "group1_block1_bn0"
- top: "group1_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block1_bn1"
- type: "BatchNorm"
- bottom: "group1_block1_conv0"
- top: "group1_block1_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block1_scale1"
- type: "Scale"
- bottom: "group1_block1_conv0"
- top: "group1_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block1_relu1"
- type: "ReLU"
- bottom: "group1_block1_conv0"
- top: "group1_block1_conv0"
- }
- layer {
- name: "group1_block1_asl"
- type: "ActiveShift"
- bottom: "group1_block1_conv0"
- top: "group1_block1_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group1_block1_conv1"
- type: "Convolution"
- bottom: "group1_block1_asl"
- top: "group1_block1_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block1_sum"
- type: "Eltwise"
- bottom: "group1_block0_sum"
- bottom: "group1_block1_conv1"
- top: "group1_block1_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group1_block2_bn0"
- type: "BatchNorm"
- bottom: "group1_block1_sum"
- top: "group1_block2_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block2_scale0"
- type: "Scale"
- bottom: "group1_block2_bn0"
- top: "group1_block2_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block2_relu0"
- type: "ReLU"
- bottom: "group1_block2_bn0"
- top: "group1_block2_bn0"
- }
- layer {
- name: "group1_block2_conv0"
- type: "Convolution"
- bottom: "group1_block2_bn0"
- top: "group1_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block2_bn1"
- type: "BatchNorm"
- bottom: "group1_block2_conv0"
- top: "group1_block2_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group1_block2_scale1"
- type: "Scale"
- bottom: "group1_block2_conv0"
- top: "group1_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group1_block2_relu1"
- type: "ReLU"
- bottom: "group1_block2_conv0"
- top: "group1_block2_conv0"
- }
- layer {
- name: "group1_block2_asl"
- type: "ActiveShift"
- bottom: "group1_block2_conv0"
- top: "group1_block2_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group1_block2_conv1"
- type: "Convolution"
- bottom: "group1_block2_asl"
- top: "group1_block2_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 92
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group1_block2_sum"
- type: "Eltwise"
- bottom: "group1_block1_sum"
- bottom: "group1_block2_conv1"
- top: "group1_block2_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group2_block0_bn0"
- type: "BatchNorm"
- bottom: "group1_block2_sum"
- top: "group2_block0_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block0_scale0"
- type: "Scale"
- bottom: "group2_block0_bn0"
- top: "group2_block0_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block0_relu0"
- type: "ReLU"
- bottom: "group2_block0_bn0"
- top: "group2_block0_bn0"
- }
- layer {
- name: "group2_block0_conv0"
- type: "Convolution"
- bottom: "group2_block0_bn0"
- top: "group2_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block0_bn1"
- type: "BatchNorm"
- bottom: "group2_block0_conv0"
- top: "group2_block0_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block0_scale1"
- type: "Scale"
- bottom: "group2_block0_conv0"
- top: "group2_block0_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block0_relu1"
- type: "ReLU"
- bottom: "group2_block0_conv0"
- top: "group2_block0_conv0"
- }
- layer {
- name: "group2_block0_asl"
- type: "ActiveShift"
- bottom: "group2_block0_conv0"
- top: "group2_block0_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 2
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group2_block0_conv1"
- type: "Convolution"
- bottom: "group2_block0_asl"
- top: "group2_block0_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block0_proj"
- type: "Convolution"
- bottom: "group2_block0_bn0"
- top: "group2_block0_proj"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 2.0
- decay_mult: 0.0
- }
- convolution_param {
- num_output: 184
- pad: 0
- kernel_size: 1
- group: 1
- stride: 2
- weight_filler {
- type: "msra"
- }
- bias_filler {
- type: "constant"
- value: 0.0
- }
- }
- }
- layer {
- name: "group2_block0_sum"
- type: "Eltwise"
- bottom: "group2_block0_proj"
- bottom: "group2_block0_conv1"
- top: "group2_block0_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group2_block1_bn0"
- type: "BatchNorm"
- bottom: "group2_block0_sum"
- top: "group2_block1_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block1_scale0"
- type: "Scale"
- bottom: "group2_block1_bn0"
- top: "group2_block1_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block1_relu0"
- type: "ReLU"
- bottom: "group2_block1_bn0"
- top: "group2_block1_bn0"
- }
- layer {
- name: "group2_block1_conv0"
- type: "Convolution"
- bottom: "group2_block1_bn0"
- top: "group2_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block1_bn1"
- type: "BatchNorm"
- bottom: "group2_block1_conv0"
- top: "group2_block1_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block1_scale1"
- type: "Scale"
- bottom: "group2_block1_conv0"
- top: "group2_block1_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block1_relu1"
- type: "ReLU"
- bottom: "group2_block1_conv0"
- top: "group2_block1_conv0"
- }
- layer {
- name: "group2_block1_asl"
- type: "ActiveShift"
- bottom: "group2_block1_conv0"
- top: "group2_block1_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group2_block1_conv1"
- type: "Convolution"
- bottom: "group2_block1_asl"
- top: "group2_block1_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block1_sum"
- type: "Eltwise"
- bottom: "group2_block0_sum"
- bottom: "group2_block1_conv1"
- top: "group2_block1_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "group2_block2_bn0"
- type: "BatchNorm"
- bottom: "group2_block1_sum"
- top: "group2_block2_bn0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block2_scale0"
- type: "Scale"
- bottom: "group2_block2_bn0"
- top: "group2_block2_bn0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block2_relu0"
- type: "ReLU"
- bottom: "group2_block2_bn0"
- top: "group2_block2_bn0"
- }
- layer {
- name: "group2_block2_conv0"
- type: "Convolution"
- bottom: "group2_block2_bn0"
- top: "group2_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block2_bn1"
- type: "BatchNorm"
- bottom: "group2_block2_conv0"
- top: "group2_block2_conv0"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "group2_block2_scale1"
- type: "Scale"
- bottom: "group2_block2_conv0"
- top: "group2_block2_conv0"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "group2_block2_relu1"
- type: "ReLU"
- bottom: "group2_block2_conv0"
- top: "group2_block2_conv0"
- }
- layer {
- name: "group2_block2_asl"
- type: "ActiveShift"
- bottom: "group2_block2_conv0"
- top: "group2_block2_asl"
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- asl_param {
- pad: 0
- stride: 1
- shift_filler {
- type: "uniform"
- min: -1.0
- max: 1.0
- }
- normalize: true
- }
- }
- layer {
- name: "group2_block2_conv1"
- type: "Convolution"
- bottom: "group2_block2_asl"
- top: "group2_block2_conv1"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- convolution_param {
- num_output: 184
- bias_term: false
- pad: 0
- kernel_size: 1
- group: 1
- stride: 1
- weight_filler {
- type: "msra"
- }
- }
- }
- layer {
- name: "group2_block2_sum"
- type: "Eltwise"
- bottom: "group2_block1_sum"
- bottom: "group2_block2_conv1"
- top: "group2_block2_sum"
- eltwise_param {
- operation: SUM
- }
- }
- layer {
- name: "last_bn"
- type: "BatchNorm"
- bottom: "group2_block2_sum"
- top: "group2_block2_sum"
- 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
- }
- batch_norm_param {
- moving_average_fraction: 0.8999999761581421
- }
- }
- layer {
- name: "last_scale"
- type: "Scale"
- bottom: "group2_block2_sum"
- top: "group2_block2_sum"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 1.0
- decay_mult: 0.0
- }
- scale_param {
- bias_term: true
- }
- }
- layer {
- name: "last_relu"
- type: "ReLU"
- bottom: "group2_block2_sum"
- top: "group2_block2_sum"
- }
- layer {
- name: "global_avg_pool"
- type: "Pooling"
- bottom: "group2_block2_sum"
- top: "global_avg_pool"
- pooling_param {
- pool: AVE
- global_pooling: true
- }
- }
- layer {
- name: "fc"
- type: "InnerProduct"
- bottom: "global_avg_pool"
- top: "fc"
- param {
- lr_mult: 1.0
- decay_mult: 1.0
- }
- param {
- lr_mult: 2.0
- decay_mult: 0.0
- }
- inner_product_param {
- num_output: 10
- weight_filler {
- type: "msra"
- }
- bias_filler {
- type: "constant"
- value: 0.0
- }
- }
- }
- layer {
- name: "loss"
- type: "SoftmaxWithLoss"
- bottom: "fc"
- bottom: "label"
- top: "loss"
- }
- layer {
- name: "softmax"
- type: "Softmax"
- bottom: "fc"
- top: "softmax"
- }
- layer {
- name: "Accuracy"
- type: "Accuracy"
- bottom: "softmax"
- bottom: "label"
- top: "Accuracy"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement