Spaces:
Running
Running
name: "ONet" | |
input: "data" | |
input_dim: 1 | |
input_dim: 3 | |
input_dim: 48 | |
input_dim: 48 | |
layer { | |
name: "conv1" | |
type: "Convolution" | |
bottom: "data" | |
top: "conv1" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
convolution_param { | |
num_output: 32 | |
kernel_size: 3 | |
stride: 1 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "prelu1" | |
type: "PReLU" | |
bottom: "conv1" | |
top: "conv1" | |
} | |
layer { | |
name: "pool1" | |
type: "Pooling" | |
bottom: "conv1" | |
top: "pool1" | |
pooling_param { | |
pool: MAX | |
kernel_size: 3 | |
stride: 2 | |
} | |
} | |
layer { | |
name: "conv2" | |
type: "Convolution" | |
bottom: "pool1" | |
top: "conv2" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
stride: 1 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "prelu2" | |
type: "PReLU" | |
bottom: "conv2" | |
top: "conv2" | |
} | |
layer { | |
name: "pool2" | |
type: "Pooling" | |
bottom: "conv2" | |
top: "pool2" | |
pooling_param { | |
pool: MAX | |
kernel_size: 3 | |
stride: 2 | |
} | |
} | |
layer { | |
name: "conv3" | |
type: "Convolution" | |
bottom: "pool2" | |
top: "conv3" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
convolution_param { | |
num_output: 64 | |
kernel_size: 3 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "prelu3" | |
type: "PReLU" | |
bottom: "conv3" | |
top: "conv3" | |
} | |
layer { | |
name: "pool3" | |
type: "Pooling" | |
bottom: "conv3" | |
top: "pool3" | |
pooling_param { | |
pool: MAX | |
kernel_size: 2 | |
stride: 2 | |
} | |
} | |
layer { | |
name: "conv4" | |
type: "Convolution" | |
bottom: "pool3" | |
top: "conv4" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
convolution_param { | |
num_output: 128 | |
kernel_size: 2 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "prelu4" | |
type: "PReLU" | |
bottom: "conv4" | |
top: "conv4" | |
} | |
layer { | |
name: "conv5" | |
type: "InnerProduct" | |
bottom: "conv4" | |
top: "conv5" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
inner_product_param { | |
num_output: 256 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "drop5" | |
type: "Dropout" | |
bottom: "conv5" | |
top: "conv5" | |
dropout_param { | |
dropout_ratio: 0.25 | |
} | |
} | |
layer { | |
name: "prelu5" | |
type: "PReLU" | |
bottom: "conv5" | |
top: "conv5" | |
} | |
layer { | |
name: "conv6-1" | |
type: "InnerProduct" | |
bottom: "conv5" | |
top: "conv6-1" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
inner_product_param { | |
num_output: 2 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "conv6-2" | |
type: "InnerProduct" | |
bottom: "conv5" | |
top: "conv6-2" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
inner_product_param { | |
num_output: 4 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "conv6-3" | |
type: "InnerProduct" | |
bottom: "conv5" | |
top: "conv6-3" | |
param { | |
lr_mult: 1 | |
decay_mult: 1 | |
} | |
param { | |
lr_mult: 2 | |
decay_mult: 1 | |
} | |
inner_product_param { | |
num_output: 10 | |
weight_filler { | |
type: "xavier" | |
} | |
bias_filler { | |
type: "constant" | |
value: 0 | |
} | |
} | |
} | |
layer { | |
name: "prob1" | |
type: "Softmax" | |
bottom: "conv6-1" | |
top: "prob1" | |
} | |