img_trans_layers.protostr 3.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
type: "nn"
layers {
  name: "image"
  type: "data"
  size: 51529
  active_type: ""
}
layers {
  name: "__conv_0__"
  type: "exconvt"
  size: 4194304
  active_type: ""
  inputs {
    input_layer_name: "image"
    input_parameter_name: "___conv_0__.w0"
    conv_conf {
      filter_size: 32
      channels: 1
      stride: 1
      padding: 1
      groups: 1
      filter_channels: 64
      output_x: 227
      img_size: 256
      caffe_mode: true
      filter_size_y: 32
      padding_y: 1
      stride_y: 1
L
Luo Tao 已提交
29
      output_y: 227
L
Luo Tao 已提交
30
      img_size_y: 256
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
    }
  }
  bias_parameter_name: "___conv_0__.wbias"
  num_filters: 64
  shared_biases: true
}
layers {
  name: "__batch_norm_0__"
  type: "batch_norm"
  size: 4194304
  active_type: "relu"
  inputs {
    input_layer_name: "__conv_0__"
    input_parameter_name: "___batch_norm_0__.w0"
    image_conf {
      channels: 64
      img_size: 256
L
Luo Tao 已提交
48
      img_size_y: 256
49 50 51 52 53 54 55 56 57 58 59 60
    }
  }
  inputs {
    input_layer_name: "__conv_0__"
    input_parameter_name: "___batch_norm_0__.w1"
  }
  inputs {
    input_layer_name: "__conv_0__"
    input_parameter_name: "___batch_norm_0__.w2"
  }
  bias_parameter_name: "___batch_norm_0__.wbias"
  moving_average_fraction: 0.9
L
Luo Tao 已提交
61 62
  height: 256
  width: 256
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
}
layers {
  name: "__crmnorm_0__"
  type: "norm"
  size: 4194304
  active_type: ""
  inputs {
    input_layer_name: "__batch_norm_0__"
    norm_conf {
      norm_type: "cmrnorm-projection"
      channels: 64
      size: 32
      scale: 0.0004
      pow: 0.75
      output_x: 256
      img_size: 256
      blocked: false
L
Luo Tao 已提交
80 81
      output_y: 256
      img_size_y: 256
82 83
    }
  }
L
Luo Tao 已提交
84 85
  height: 256
  width: 256
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
}
layers {
  name: "__pool_0__"
  type: "pool"
  size: 3240000
  active_type: ""
  inputs {
    input_layer_name: "__conv_0__"
    pool_conf {
      pool_type: "max-projection"
      channels: 64
      size_x: 32
      stride: 1
      output_x: 225
      img_size: 256
      padding: 0
      size_y: 32
      stride_y: 1
      output_y: 225
      img_size_y: 256
      padding_y: 0
    }
  }
L
Luo Tao 已提交
109 110
  height: 225
  width: 225
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 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
}
parameters {
  name: "___conv_0__.w0"
  size: 65536
  initial_mean: 0.0
  initial_std: 0.0441941738242
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___conv_0__.wbias"
  size: 64
  initial_mean: 0.0
  initial_std: 0.0
  dims: 64
  dims: 1
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___batch_norm_0__.w0"
  size: 64
  initial_mean: 1.0
  initial_std: 0.0
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___batch_norm_0__.w1"
  size: 64
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 64
  initial_strategy: 0
  initial_smart: false
  is_static: true
  is_shared: true
}
parameters {
  name: "___batch_norm_0__.w2"
  size: 64
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 64
  initial_strategy: 0
  initial_smart: false
  is_static: true
  is_shared: true
}
parameters {
  name: "___batch_norm_0__.wbias"
  size: 64
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 64
  initial_strategy: 0
  initial_smart: false
}
input_layer_names: "image"
output_layer_names: "__pool_0__"
output_layer_names: "__crmnorm_0__"
sub_models {
  name: "root"
  layer_names: "image"
  layer_names: "__conv_0__"
  layer_names: "__batch_norm_0__"
  layer_names: "__crmnorm_0__"
  layer_names: "__pool_0__"
  input_layer_names: "image"
  output_layer_names: "__pool_0__"
  output_layer_names: "__crmnorm_0__"
  is_recurrent_layer_group: false
}