TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=cifar10_full_solver.prototxt
+$TOOLS/caffe train --solver=cifar10_full_solver.prototxt
-#reduce learning rate by factor of 10
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=cifar10_full_solver_lr1.prototxt \
- --resume_point_file=cifar10_full_iter_60000.solverstate
+# reduce learning rate by factor of 10
+$TOOLS/caffe train \
+ --solver=cifar10_full_solver_lr1.prototxt \
+ --snapshot=cifar10_full_iter_60000.solverstate
-#reduce learning rate by factor of 10
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=cifar10_full_solver_lr2.prototxt \
- --resume_point_file=cifar10_full_iter_65000.solverstate
+# reduce learning rate by factor of 10
+$TOOLS/caffe train \
+ --solver=cifar10_full_solver_lr2.prototxt \
+ --snapshot=cifar10_full_iter_65000.solverstate
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=cifar10_quick_solver.prototxt
+$TOOLS/caffe.bin train --solver=cifar10_quick_solver.prototxt
-#reduce learning rate by fctor of 10 after 8 epochs
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=cifar10_quick_solver_lr1.prototxt \
- --resume_point_file=cifar10_quick_iter_4000.solverstate
+# reduce learning rate by fctor of 10 after 8 epochs
+$TOOLS/caffe.bin train \
+ --solver=cifar10_quick_solver_lr1.prototxt \
+ --snapshot=cifar10_quick_iter_4000.solverstate
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train\
- --solver_proto_file=imagenet_solver.prototxt \
- --resume_point_file=caffe_imagenet_train_10000.solverstate
+$TOOLS/caffe train\
+ --solver=imagenet_solver.prototxt \
+ --snapshot=caffe_imagenet_train_10000.solverstate
echo "Done."
DEVICE_ID=$1
fi
-GLOG_logtostderr=1 $TOOLS/caffe.bin speedtest \
- --net_proto_file=imagenet_train_val.prototxt \
- --speedtest_with_gpu=${WITH_GPU} \
+$TOOLS/caffe time \
+ --model=imagenet_train_val.prototxt \
+ --gpu=${WITH_GPU} \
--device_id=${DEVICE_ID}
echo "Done."
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=alexnet_solver.prototxt
+$TOOLS/caffe train --solver=alexnet_solver.prototxt
echo "Done."
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=imagenet_solver.prototxt
+$TOOLS/caffe train --solver=imagenet_solver.prototxt
echo "Done."
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=lenet_solver.prototxt
+$TOOLS/caffe train --solver=lenet_solver.prototxt
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=lenet_consolidated_solver.prototxt
+$TOOLS/caffe train --solver=lenet_consolidated_solver.prototxt
#!/bin/bash
TOOLS=../../build/tools
-GLOG_logtostderr=1 $TOOLS/caffe.bin train \
- --solver_proto_file=mnist_autoencoder_solver.prototxt
+$TOOLS/caffe.bin train --solver=mnist_autoencoder_solver.prototxt