#!/bin/bash 

set -e -x

bazel build --config=cuda -c opt vision/data/tools:build_train_test
./bazel-bin/vision/data/tools/build_train_test \
   --data_source=experimental/james/cascade_v1/new/newdata_source.pbtxt \
   --max_side=1242 \
   --testing_percentage=10 \
   --training_output=/usr/local/data/experiments/newdata_exp1/train3.lmdb \
   --testing_output=/usr/local/data/experiments/newdata_exp1/test3.lmdb
