Update example bash scripts to expect .h5, new extensions in .gitignore

This commit is contained in:
Eric Tzeng 2015-08-07 13:17:26 -07:00
Родитель 5c89c64ff1
Коммит c9b333e062
4 изменённых файлов: 6 добавлений и 4 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -61,7 +61,9 @@ Makefile.config
data/*
models/*
*.caffemodel
*.caffemodel.h5
*.solverstate
*.solverstate.h5
*.binaryproto
*leveldb
*lmdb

Просмотреть файл

@ -8,9 +8,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
--snapshot=examples/cifar10/cifar10_full_iter_60000.solverstate.h5
# 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
--snapshot=examples/cifar10/cifar10_full_iter_65000.solverstate.h5

Просмотреть файл

@ -8,4 +8,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
--snapshot=examples/cifar10/cifar10_quick_iter_4000.solverstate.h5

Просмотреть файл

@ -2,4 +2,4 @@
./build/tools/caffe train \
--solver=models/bvlc_reference_caffenet/solver.prototxt \
--snapshot=models/bvlc_reference_caffenet/caffenet_train_10000.solverstate
--snapshot=models/bvlc_reference_caffenet/caffenet_train_10000.solverstate.h5