summaryrefslogtreecommitdiff
path: root/examples/mnist/mnist_autoencoder.prototxt
diff options
context:
space:
mode:
authorJeff Donahue <jeff.donahue@gmail.com>2014-09-01 12:04:31 -0700
committerJeff Donahue <jeff.donahue@gmail.com>2014-09-01 12:04:31 -0700
commitb49b2d3e8e0f5ebe453404c79ac9528f426ab2f0 (patch)
tree458ea406107d4c2e32891fc33dc7e01cfe31432f /examples/mnist/mnist_autoencoder.prototxt
parent5894f039a454c249ba65141b9c20f9edc9b71627 (diff)
downloadcaffeonacl-b49b2d3e8e0f5ebe453404c79ac9528f426ab2f0.tar.gz
caffeonacl-b49b2d3e8e0f5ebe453404c79ac9528f426ab2f0.tar.bz2
caffeonacl-b49b2d3e8e0f5ebe453404c79ac9528f426ab2f0.zip
Add "test-on-train" stage to test accuracy on the training data; correct
test_iter (should be 100 instead of 50)
Diffstat (limited to 'examples/mnist/mnist_autoencoder.prototxt')
-rw-r--r--examples/mnist/mnist_autoencoder.prototxt22
1 files changed, 21 insertions, 1 deletions
diff --git a/examples/mnist/mnist_autoencoder.prototxt b/examples/mnist/mnist_autoencoder.prototxt
index b2bce47b..45d08023 100644
--- a/examples/mnist/mnist_autoencoder.prototxt
+++ b/examples/mnist/mnist_autoencoder.prototxt
@@ -18,6 +18,23 @@ layers {
name: "data"
type: DATA
data_param {
+ source: "examples/mnist/mnist_train_lmdb"
+ backend: LMDB
+ batch_size: 100
+ transform_param {
+ scale: 0.0039215684
+ }
+ }
+ include: {
+ phase: TEST
+ stage: 'test-on-train'
+ }
+}
+layers {
+ top: "data"
+ name: "data"
+ type: DATA
+ data_param {
source: "examples/mnist/mnist_test_lmdb"
backend: LMDB
batch_size: 100
@@ -25,7 +42,10 @@ layers {
scale: 0.0039215684
}
}
- include: { phase: TEST }
+ include: {
+ phase: TEST
+ stage: 'test-on-test'
+ }
}
layers {
bottom: "data"