File: train_quick.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 (12 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env sh
set -e

TOOLS=./build/tools

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

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