summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorlinmin <mavenlin@gmail.com>2014-02-25 10:09:58 +0800
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-02-26 15:41:58 -0800
commit2848aa1f8da0272797ee51234293dfa87eda266a (patch)
treed9bb1471f5edd448f2a909af7a6f5baab268b496 /models
parent4b273e35cc2b3c29f291d4fa96139a0260ffcde7 (diff)
downloadcaffe-2848aa1f8da0272797ee51234293dfa87eda266a.tar.gz
caffe-2848aa1f8da0272797ee51234293dfa87eda266a.tar.bz2
caffe-2848aa1f8da0272797ee51234293dfa87eda266a.zip
remove padding layers in imagenet definitions
Diffstat (limited to 'models')
-rw-r--r--models/imagenet.prototxt48
1 files changed, 8 insertions, 40 deletions
diff --git a/models/imagenet.prototxt b/models/imagenet.prototxt
index 0fec21b3..0b1f41ab 100644
--- a/models/imagenet.prototxt
+++ b/models/imagenet.prototxt
@@ -59,20 +59,12 @@ layers {
}
layers {
layer {
- name: "pad2"
- type: "padding"
- pad: 2
- }
- bottom: "norm1"
- top: "pad2"
-}
-layers {
- layer {
name: "conv2"
type: "conv"
num_output: 256
group: 2
kernelsize: 5
+ pad: 2
weight_filler {
type: "gaussian"
std: 0.01
@@ -86,7 +78,7 @@ layers {
weight_decay: 1.
weight_decay: 0.
}
- bottom: "pad2"
+ bottom: "norm1"
top: "conv2"
}
layers {
@@ -121,19 +113,11 @@ layers {
}
layers {
layer {
- name: "pad3"
- type: "padding"
- pad: 1
- }
- bottom: "norm2"
- top: "pad3"
-}
-layers {
- layer {
name: "conv3"
type: "conv"
num_output: 384
kernelsize: 3
+ pad: 1
weight_filler {
type: "gaussian"
std: 0.01
@@ -147,7 +131,7 @@ layers {
weight_decay: 1.
weight_decay: 0.
}
- bottom: "pad3"
+ bottom: "norm2"
top: "conv3"
}
layers {
@@ -160,20 +144,12 @@ layers {
}
layers {
layer {
- name: "pad4"
- type: "padding"
- pad: 1
- }
- bottom: "conv3"
- top: "pad4"
-}
-layers {
- layer {
name: "conv4"
type: "conv"
num_output: 384
group: 2
kernelsize: 3
+ pad: 1
weight_filler {
type: "gaussian"
std: 0.01
@@ -187,7 +163,7 @@ layers {
weight_decay: 1.
weight_decay: 0.
}
- bottom: "pad4"
+ bottom: "conv3"
top: "conv4"
}
layers {
@@ -200,20 +176,12 @@ layers {
}
layers {
layer {
- name: "pad5"
- type: "padding"
- pad: 1
- }
- bottom: "conv4"
- top: "pad5"
-}
-layers {
- layer {
name: "conv5"
type: "conv"
num_output: 256
group: 2
kernelsize: 3
+ pad: 1
weight_filler {
type: "gaussian"
std: 0.01
@@ -227,7 +195,7 @@ layers {
weight_decay: 1.
weight_decay: 0.
}
- bottom: "pad5"
+ bottom: "conv4"
top: "conv5"
}
layers {