vendor: OpenCV 5.0.0 snapshot at 755e50675d97db9b7d449d8bd6b09888646f6c6e
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
name: "LeNet"
|
||||
layers {
|
||||
name: "data"
|
||||
type: IMAGE_DATA
|
||||
top: "data"
|
||||
top: "label"
|
||||
image_data_param {
|
||||
source: "/project/EvolvingAI/anguyen8/model/mnist_image_list.txt"
|
||||
mean_file: "/project/EvolvingAI/anguyen8/model/mnist_mean.binaryproto"
|
||||
batch_size: 1
|
||||
mirror: false
|
||||
new_height: 28
|
||||
new_width: 28
|
||||
scale: 0.00390625
|
||||
images_in_color: false
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "conv1"
|
||||
type: CONVOLUTION
|
||||
bottom: "data"
|
||||
top: "conv1"
|
||||
blobs_lr: 1
|
||||
blobs_lr: 2
|
||||
convolution_param {
|
||||
num_output: 20
|
||||
kernel_size: 5
|
||||
stride: 1
|
||||
weight_filler {
|
||||
type: "xavier"
|
||||
}
|
||||
bias_filler {
|
||||
type: "constant"
|
||||
}
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "pool1"
|
||||
type: POOLING
|
||||
bottom: "conv1"
|
||||
top: "pool1"
|
||||
pooling_param {
|
||||
pool: MAX
|
||||
kernel_size: 2
|
||||
stride: 2
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "conv2"
|
||||
type: CONVOLUTION
|
||||
bottom: "pool1"
|
||||
top: "conv2"
|
||||
blobs_lr: 1
|
||||
blobs_lr: 2
|
||||
convolution_param {
|
||||
num_output: 50
|
||||
kernel_size: 5
|
||||
stride: 1
|
||||
weight_filler {
|
||||
type: "xavier"
|
||||
}
|
||||
bias_filler {
|
||||
type: "constant"
|
||||
}
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "pool2"
|
||||
type: POOLING
|
||||
bottom: "conv2"
|
||||
top: "pool2"
|
||||
pooling_param {
|
||||
pool: MAX
|
||||
kernel_size: 2
|
||||
stride: 2
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "ip1"
|
||||
type: INNER_PRODUCT
|
||||
bottom: "pool2"
|
||||
top: "ip1"
|
||||
blobs_lr: 1
|
||||
blobs_lr: 2
|
||||
inner_product_param {
|
||||
num_output: 500
|
||||
weight_filler {
|
||||
type: "xavier"
|
||||
}
|
||||
bias_filler {
|
||||
type: "constant"
|
||||
}
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "relu1"
|
||||
type: RELU
|
||||
bottom: "ip1"
|
||||
top: "ip1"
|
||||
}
|
||||
layers {
|
||||
name: "ip2"
|
||||
type: INNER_PRODUCT
|
||||
bottom: "ip1"
|
||||
top: "ip2"
|
||||
blobs_lr: 1
|
||||
blobs_lr: 2
|
||||
inner_product_param {
|
||||
num_output: 10
|
||||
weight_filler {
|
||||
type: "xavier"
|
||||
}
|
||||
bias_filler {
|
||||
type: "constant"
|
||||
}
|
||||
}
|
||||
}
|
||||
layers {
|
||||
name: "prob"
|
||||
type: SOFTMAX
|
||||
bottom: "ip2"
|
||||
top: "prob"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
/project/EvolvingAI/anguyen8/model/mnist_sample_image.png 0
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 677 B |
Reference in New Issue
Block a user