Created
January 20, 2021 18:37
-
-
Save SETIADEEPANSHU/e530ae34e68f34c21bb10cae430da169 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "oNet" | |
layer { | |
name: "data" | |
type: "Input" | |
top: "data" | |
input_param { | |
shape: { | |
dim: 1 | |
dim: 3 | |
dim: 48 | |
dim: 48 | |
} | |
} | |
} | |
layer { | |
name: "conv1" | |
type: "Convolution" | |
bottom: "data" | |
top: "conv1" | |
convolution_param { | |
num_output: 16 | |
kernel_size: 3 | |
stride: 1 | |
} | |
} | |
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" | |
convolution_param { | |
num_output: 32 | |
kernel_size: 3 | |
stride: 1 | |
} | |
} | |
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" | |
convolution_param { | |
num_output: 48 | |
kernel_size: 3 | |
stride: 1 | |
} | |
} | |
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" | |
convolution_param { | |
num_output: 64 | |
kernel_size: 2 | |
stride: 1 | |
} | |
} | |
layer { | |
name: "prelu4" | |
type: "PReLU" | |
bottom: "conv4" | |
top: "conv4" | |
} | |
layer { | |
name: "fc" | |
type: "InnerProduct" | |
bottom: "conv4" | |
top: "fc" | |
inner_product_param { | |
num_output: 96 | |
} | |
} | |
layer { | |
name: "prelu5" | |
type: "PReLU" | |
bottom: "fc" | |
top: "fc" | |
} | |
# score | |
layer { | |
name: "score" | |
type: "InnerProduct" | |
bottom: "fc" | |
top: "score" | |
inner_product_param { | |
num_output: 2 | |
} | |
} | |
layer { | |
name: "prob" | |
type: "Softmax" | |
bottom: "score" | |
top: "prob" | |
softmax_param { | |
axis: 1 | |
} | |
} | |
# bbox | |
layer { | |
name: "bbox_pred" | |
type: "InnerProduct" | |
bottom: "fc" | |
top: "bbox_pred" | |
inner_product_param { | |
num_output: 4 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment