File: train_full.sh

package info (click to toggle)
caffe 1.0.0%2Bgit20180821.99bd997-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,228 kB
  • sloc: cpp: 61,577; python: 5,783; makefile: 600; sh: 562
file content (17 lines) | stat: -rwxr-xr-x 524 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env sh
set -e

TOOLS=./build/tools

$TOOLS/caffe train \
    --solver=examples/cifar10/cifar10_full_solver.prototxt $@

# 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 $@

# 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 $@