#!/bin/bash

set -e

bazel build -c opt --config=cuda vision/data/tools:split_data_main
./bazel-bin/vision/data/tools/split_data_main \
  --data_source=experimental/james/cascade_v1/new/newdata_exp52_prep.pbtxt \
  --outputs="/usr/local/data/experiments/newdata_exp1/train_exp52.0.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.1.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.2.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.3.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.4.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.5.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.6.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.7.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.8.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp52.9.lmdb:10"
