#!/bin/bash

set -euxo pipefail

bazel build -c opt --config=cuda //third_party/caffe:caffe_tool
./bazel-bin/third_party/caffe/caffe_tool \
  train \
  -solver=$PWD/experimental/james/wheel_road/models/exp11_solver.pbtxt \
  -model=$PWD/experimental/james/wheel_road/models/exp11.pbtxt \
  2>&1 | tee /tmp/wheel_road_exp11_log.txt
