Skip to content

Instantly share code, notes, and snippets.

@chakkritte
Created January 12, 2017 00:18
Show Gist options
  • Save chakkritte/e477eb744493944392c5f0ba723343f7 to your computer and use it in GitHub Desktop.
Save chakkritte/e477eb744493944392c5f0ba723343f7 to your computer and use it in GitHub Desktop.
name: "CReLU-conv1-4"
input: "data"
input_shape {
dim: 1
dim: 3
dim: 224
dim: 224
}
layer {
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 48
pad: 0
kernel_size: 11
group: 1
stride: 4
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "power1"
type: "Power"
bottom: "conv1"
top: "power1"
power_param {
power: 1.0
scale: -1.0
shift: 0.0
}
}
layer {
name: "concat1"
type: "Concat"
bottom: "conv1"
bottom: "power1"
top: "concat1"
}
layer {
name: "relu1"
type: "ReLU"
bottom: "concat1"
top: "concat1"
}
layer {
name: "conv2"
type: "Convolution"
bottom: "concat1"
top: "conv2"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 48
pad: 0
kernel_size: 1
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu2"
type: "ReLU"
bottom: "conv2"
top: "conv2"
}
layer {
name: "conv3"
type: "Convolution"
bottom: "conv2"
top: "conv3"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 48
pad: 0
kernel_size: 3
group: 1
stride: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu3"
type: "ReLU"
bottom: "conv3"
top: "conv3"
}
layer {
name: "conv4"
type: "Convolution"
bottom: "conv3"
top: "conv4"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 128
pad: 2
kernel_size: 5
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "power4"
type: "Power"
bottom: "conv4"
top: "power4"
power_param {
power: 1.0
scale: -1.0
shift: 0.0
}
}
layer {
name: "concat4"
type: "Concat"
bottom: "conv4"
bottom: "power4"
top: "concat4"
}
layer {
name: "relu4"
type: "ReLU"
bottom: "concat4"
top: "concat4"
}
layer {
name: "conv5"
type: "Convolution"
bottom: "concat4"
top: "conv5"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 48
pad: 0
kernel_size: 1
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu5"
type: "ReLU"
bottom: "conv5"
top: "conv5"
}
layer {
name: "conv6"
type: "Convolution"
bottom: "conv5"
top: "conv6"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 48
pad: 0
kernel_size: 3
group: 1
stride: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu6"
type: "ReLU"
bottom: "conv6"
top: "conv6"
}
layer {
name: "conv7"
type: "Convolution"
bottom: "conv6"
top: "conv7"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "power7"
type: "Power"
bottom: "conv7"
top: "power7"
power_param {
power: 1.0
scale: -1.0
shift: 0.0
}
}
layer {
name: "concat7"
type: "Concat"
bottom: "conv7"
bottom: "power7"
top: "concat7"
}
layer {
name: "relu7"
type: "ReLU"
bottom: "concat7"
top: "concat7"
}
layer {
name: "conv8"
type: "Convolution"
bottom: "concat7"
top: "conv8"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 192
pad: 0
kernel_size: 1
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu8"
type: "ReLU"
bottom: "conv8"
top: "conv8"
}
layer {
name: "conv9"
type: "Convolution"
bottom: "conv8"
top: "conv9"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
group: 1
stride: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu9"
type: "ReLU"
bottom: "conv9"
top: "conv9"
}
layer {
name: "drop"
type: "Dropout"
bottom: "conv9"
top: "drop"
dropout_param {
dropout_ratio: 0.25
}
}
layer {
name: "conv10"
type: "Convolution"
bottom: "drop"
top: "conv10"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu10"
type: "ReLU"
bottom: "conv10"
top: "conv10"
}
layer {
name: "conv11"
type: "Convolution"
bottom: "conv10"
top: "conv11"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 512
pad: 0
kernel_size: 1
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu11"
type: "ReLU"
bottom: "conv11"
top: "conv11"
}
layer {
name: "conv12"
type: "Convolution"
bottom: "conv11"
top: "conv12"
param {
lr_mult: 1.0
decay_mult: 1.0
}
param {
lr_mult: 2.0
decay_mult: 0.0
}
convolution_param {
num_output: 1000
pad: 0
kernel_size: 1
group: 1
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "relu12"
type: "ReLU"
bottom: "conv12"
top: "conv12"
}
layer {
name: "pool"
type: "Pooling"
bottom: "conv12"
top: "pool"
pooling_param {
pool: AVE
global_pooling: true
}
}
layer {
name: "softmax"
type: "Softmax"
bottom: "pool"
top: "softmax"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment