зеркало из https://github.com/microsoft/caffe.git
Update example bash scripts to expect .h5, new extensions in .gitignore
This commit is contained in:
Родитель
5c89c64ff1
Коммит
c9b333e062
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче