summaryrefslogtreecommitdiff
path: root/examples/hdf5_classification/nonlinear_auto_test.prototxt
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2015-03-17 19:01:02 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2015-06-30 15:15:02 -0700
commita6cb8ec62cb6f92f48e8a19da3c71902d3282bfc (patch)
tree61c2f30ddb91e2128ce9560f3a742839c4d7f33b /examples/hdf5_classification/nonlinear_auto_test.prototxt
parentb8cc2974fc557fa163187e9ce0a879d0e13833b4 (diff)
downloadcaffeonacl-a6cb8ec62cb6f92f48e8a19da3c71902d3282bfc.tar.gz
caffeonacl-a6cb8ec62cb6f92f48e8a19da3c71902d3282bfc.tar.bz2
caffeonacl-a6cb8ec62cb6f92f48e8a19da3c71902d3282bfc.zip
[examples] sequence and revise notebooks
- combine classification + filter visualization - order by classification, learning LeNet, brewing logreg, and fine-tuning to flickr style - improve flow of content in classification + filter visualization - include solver needed for learning LeNet - edit notebook descriptions for site catalogue
Diffstat (limited to 'examples/hdf5_classification/nonlinear_auto_test.prototxt')
-rw-r--r--examples/hdf5_classification/nonlinear_auto_test.prototxt54
1 files changed, 54 insertions, 0 deletions
diff --git a/examples/hdf5_classification/nonlinear_auto_test.prototxt b/examples/hdf5_classification/nonlinear_auto_test.prototxt
new file mode 100644
index 00000000..53eda6ee
--- /dev/null
+++ b/examples/hdf5_classification/nonlinear_auto_test.prototxt
@@ -0,0 +1,54 @@
+layer {
+ name: "data"
+ type: "HDF5Data"
+ top: "data"
+ top: "label"
+ hdf5_data_param {
+ source: "examples/hdf5_classification/data/test.txt"
+ batch_size: 10
+ }
+}
+layer {
+ name: "ip1"
+ type: "InnerProduct"
+ bottom: "data"
+ top: "ip1"
+ inner_product_param {
+ num_output: 40
+ weight_filler {
+ type: "xavier"
+ }
+ }
+}
+layer {
+ name: "relu1"
+ type: "ReLU"
+ bottom: "ip1"
+ top: "ip1"
+}
+layer {
+ name: "ip2"
+ type: "InnerProduct"
+ bottom: "ip1"
+ top: "ip2"
+ inner_product_param {
+ num_output: 2
+ weight_filler {
+ type: "xavier"
+ }
+ }
+}
+layer {
+ name: "accuracy"
+ type: "Accuracy"
+ bottom: "ip2"
+ bottom: "label"
+ top: "accuracy"
+}
+layer {
+ name: "loss"
+ type: "SoftmaxWithLoss"
+ bottom: "ip2"
+ bottom: "label"
+ top: "loss"
+}