test_maxout.protostr 4.1 KB
Newer Older
1 2 3 4 5 6
type: "nn"
layers {
  name: "data"
  type: "data"
  size: 2304
  active_type: ""
L
Luo Tao 已提交
7 8
  height: 48
  width: 48
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
}
layers {
  name: "__conv_0__"
  type: "exconv"
  size: 36864
  active_type: ""
  inputs {
    input_layer_name: "data"
    input_parameter_name: "___conv_0__.w0"
    conv_conf {
      filter_size: 3
      channels: 1
      stride: 1
      padding: 1
      groups: 1
      filter_channels: 1
      output_x: 48
      img_size: 48
      caffe_mode: true
      filter_size_y: 3
      padding_y: 1
      stride_y: 1
L
Luo Tao 已提交
31 32
      output_y: 48
      img_size_y: 48
X
xzl 已提交
33 34
      dilation: 1
      dilation_y: 1
35 36 37 38 39
    }
  }
  bias_parameter_name: "___conv_0__.wbias"
  num_filters: 16
  shared_biases: true
L
Luo Tao 已提交
40 41
  height: 48
  width: 48
42 43 44 45 46 47 48 49 50
}
layers {
  name: "__maxout_layer_0__"
  type: "maxout"
  size: 18432
  active_type: ""
  inputs {
    input_layer_name: "__conv_0__"
    maxout_conf {
L
Luo Tao 已提交
51 52 53 54 55
      image_conf {
        channels: 16
        img_size: 48
        img_size_y: 48
      }
56 57 58
      groups: 2
    }
  }
L
Luo Tao 已提交
59 60
  height: 48
  width: 48
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
}
layers {
  name: "__pool_0__"
  type: "pool"
  size: 4608
  active_type: ""
  inputs {
    input_layer_name: "__maxout_layer_0__"
    pool_conf {
      pool_type: "max-projection"
      channels: 8
      size_x: 2
      stride: 2
      output_x: 24
      img_size: 48
      padding: 0
      size_y: 2
      stride_y: 2
      output_y: 24
      img_size_y: 48
      padding_y: 0
    }
  }
L
Luo Tao 已提交
84 85
  height: 24
  width: 24
86 87 88 89
}
layers {
  name: "__conv_1__"
  type: "exconv"
L
Luo Tao 已提交
90
  size: 73728
91 92 93 94 95 96
  active_type: ""
  inputs {
    input_layer_name: "__pool_0__"
    input_parameter_name: "___conv_1__.w0"
    conv_conf {
      filter_size: 3
L
Luo Tao 已提交
97
      channels: 8
98 99 100
      stride: 1
      padding: 1
      groups: 1
L
Luo Tao 已提交
101 102 103
      filter_channels: 8
      output_x: 24
      img_size: 24
104 105 106 107
      caffe_mode: true
      filter_size_y: 3
      padding_y: 1
      stride_y: 1
L
Luo Tao 已提交
108 109
      output_y: 24
      img_size_y: 24
X
xzl 已提交
110 111
      dilation: 1
      dilation_y: 1
112 113 114 115 116
    }
  }
  bias_parameter_name: "___conv_1__.wbias"
  num_filters: 128
  shared_biases: true
L
Luo Tao 已提交
117 118
  height: 24
  width: 24
119 120 121 122
}
layers {
  name: "__maxout_layer_1__"
  type: "maxout"
L
Luo Tao 已提交
123
  size: 18432
124 125
  active_type: ""
  inputs {
L
Luo Tao 已提交
126
    input_layer_name: "__conv_1__"
127
    maxout_conf {
L
Luo Tao 已提交
128 129 130 131 132
      image_conf {
        channels: 128
        img_size: 24
        img_size_y: 24
      }
133 134 135
      groups: 4
    }
  }
L
Luo Tao 已提交
136 137
  height: 24
  width: 24
138 139 140 141 142 143 144
}
layers {
  name: "__block_expand_layer_0__"
  type: "blockexpand"
  size: 192
  active_type: ""
  inputs {
L
Luo Tao 已提交
145
    input_layer_name: "__maxout_layer_1__"
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
    block_expand_conf {
      channels: 32
      stride_x: 1
      stride_y: 1
      padding_x: 0
      padding_y: 0
      block_x: 1
      block_y: 6
      output_x: 0
      output_y: 0
      img_size_x: 0
      img_size_y: 0
    }
  }
}
layers {
  name: "__fc_layer_0__"
  type: "fc"
  size: 384
  active_type: "tanh"
  inputs {
    input_layer_name: "__block_expand_layer_0__"
    input_parameter_name: "___fc_layer_0__.w0"
  }
}
parameters {
  name: "___conv_0__.w0"
  size: 144
  initial_mean: 0.0
  initial_std: 0.471404520791
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___conv_0__.wbias"
  size: 16
  initial_mean: 0.0
  initial_std: 0.0
  dims: 16
  dims: 1
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___conv_1__.w0"
L
Luo Tao 已提交
191
  size: 9216
192
  initial_mean: 0.0
L
Luo Tao 已提交
193
  initial_std: 0.166666666667
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___conv_1__.wbias"
  size: 128
  initial_mean: 0.0
  initial_std: 0.0
  dims: 128
  dims: 1
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___fc_layer_0__.w0"
  size: 73728
  initial_mean: 0.0
  initial_std: 0.0721687836487
  dims: 192
  dims: 384
  initial_strategy: 0
  initial_smart: true
}
input_layer_names: "data"
output_layer_names: "__fc_layer_0__"
sub_models {
  name: "root"
  layer_names: "data"
  layer_names: "__conv_0__"
  layer_names: "__maxout_layer_0__"
  layer_names: "__pool_0__"
  layer_names: "__conv_1__"
  layer_names: "__maxout_layer_1__"
  layer_names: "__block_expand_layer_0__"
  layer_names: "__fc_layer_0__"
  input_layer_names: "data"
  output_layer_names: "__fc_layer_0__"
  is_recurrent_layer_group: false
}