[examples] switch cifar-10 back to proto instead of h5 serialization
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 14 Apr 2017 02:14:57 +0000 (19:14 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 14 Apr 2017 02:15:31 +0000 (19:15 -0700)
(it's more common)

examples/cifar10/cifar10_quick_solver.prototxt
examples/cifar10/train_full.sh
examples/cifar10/train_quick.sh

index 5de276f..14b4401 100644 (file)
@@ -20,7 +20,6 @@ display: 100
 max_iter: 4000
 # snapshot intermediate results
 snapshot: 4000
-snapshot_format: HDF5
 snapshot_prefix: "examples/cifar10/cifar10_quick"
 # solver mode: CPU or GPU
 solver_mode: GPU
index 06ecc2d..fe46e60 100755 (executable)
@@ -9,9 +9,9 @@ $TOOLS/caffe train \
 # reduce learning rate by factor of 10
 $TOOLS/caffe train \
     --solver=examples/cifar10/cifar10_full_solver_lr1.prototxt \
-    --snapshot=examples/cifar10/cifar10_full_iter_60000.solverstate.h5 $@
+    --snapshot=examples/cifar10/cifar10_full_iter_60000.solverstate $@
 
 # reduce learning rate by factor of 10
 $TOOLS/caffe train \
     --solver=examples/cifar10/cifar10_full_solver_lr2.prototxt \
-    --snapshot=examples/cifar10/cifar10_full_iter_65000.solverstate.h5 $@
+    --snapshot=examples/cifar10/cifar10_full_iter_65000.solverstate $@
index d2b8753..257479e 100755 (executable)
@@ -9,4 +9,4 @@ $TOOLS/caffe train \
 # reduce learning rate by factor of 10 after 8 epochs
 $TOOLS/caffe train \
   --solver=examples/cifar10/cifar10_quick_solver_lr1.prototxt \
-  --snapshot=examples/cifar10/cifar10_quick_iter_4000.solverstate.h5 $@
+  --snapshot=examples/cifar10/cifar10_quick_iter_4000.solverstate $@