diff options
author | Kai Li <kaili_kloud@163.com> | 2014-08-29 11:45:37 +0800 |
---|---|---|
committer | Kai Li <kaili_kloud@163.com> | 2014-09-03 13:25:22 +0800 |
commit | 3c9a13c5cd289aeb3b6524fca1e34bfe8ccf990e (patch) | |
tree | fcc141ade65db4a4bec1b4c53ec20b3103d57d4f /examples/mnist | |
parent | 156a5a29878c6ded8482b9084853628daff9e188 (diff) | |
download | caffeonacl-3c9a13c5cd289aeb3b6524fca1e34bfe8ccf990e.tar.gz caffeonacl-3c9a13c5cd289aeb3b6524fca1e34bfe8ccf990e.tar.bz2 caffeonacl-3c9a13c5cd289aeb3b6524fca1e34bfe8ccf990e.zip |
Move transform param one level up in the proto to reduce redundancy
Diffstat (limited to 'examples/mnist')
-rw-r--r-- | examples/mnist/lenet_consolidated_solver.prototxt | 18 | ||||
-rw-r--r-- | examples/mnist/lenet_train_test.prototxt | 12 | ||||
-rw-r--r-- | examples/mnist/mnist_autoencoder.prototxt | 12 |
3 files changed, 21 insertions, 21 deletions
diff --git a/examples/mnist/lenet_consolidated_solver.prototxt b/examples/mnist/lenet_consolidated_solver.prototxt index f57d086c..b81f30f2 100644 --- a/examples/mnist/lenet_consolidated_solver.prototxt +++ b/examples/mnist/lenet_consolidated_solver.prototxt @@ -53,9 +53,9 @@ net_param { source: "examples/mnist/mnist_train_lmdb" backend: LMDB batch_size: 64 - transform_param { - scale: 0.00390625 - } + } + transform_param { + scale: 0.00390625 } include: { phase: TRAIN } } @@ -68,9 +68,9 @@ net_param { source: "examples/mnist/mnist_test_lmdb" backend: LMDB batch_size: 100 - transform_param { - scale: 0.00390625 - } + } + transform_param { + scale: 0.00390625 } include: { phase: TEST @@ -86,9 +86,9 @@ net_param { source: "examples/mnist/mnist_train_lmdb" backend: LMDB batch_size: 100 - transform_param { - scale: 0.00390625 - } + } + transform_param { + scale: 0.00390625 } include: { phase: TEST diff --git a/examples/mnist/lenet_train_test.prototxt b/examples/mnist/lenet_train_test.prototxt index e4d65892..2bd960b5 100644 --- a/examples/mnist/lenet_train_test.prototxt +++ b/examples/mnist/lenet_train_test.prototxt @@ -8,9 +8,9 @@ layers { source: "examples/mnist/mnist_train_lmdb" backend: LMDB batch_size: 64 - transform_param { - scale: 0.00390625 - } + } + transform_param { + scale: 0.00390625 } include: { phase: TRAIN } } @@ -23,9 +23,9 @@ layers { source: "examples/mnist/mnist_test_lmdb" backend: LMDB batch_size: 100 - transform_param { - scale: 0.00390625 - } + } + transform_param { + scale: 0.00390625 } include: { phase: TEST } } diff --git a/examples/mnist/mnist_autoencoder.prototxt b/examples/mnist/mnist_autoencoder.prototxt index 45d08023..b4345e71 100644 --- a/examples/mnist/mnist_autoencoder.prototxt +++ b/examples/mnist/mnist_autoencoder.prototxt @@ -7,9 +7,9 @@ layers { source: "examples/mnist/mnist_train_lmdb" backend: LMDB batch_size: 100 - transform_param { - scale: 0.0039215684 - } + } + transform_param { + scale: 0.0039215684 } include: { phase: TRAIN } } @@ -21,9 +21,9 @@ layers { source: "examples/mnist/mnist_train_lmdb" backend: LMDB batch_size: 100 - transform_param { - scale: 0.0039215684 - } + } + transform_param { + scale: 0.0039215684 } include: { phase: TEST |