#!/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_exp51_prep.pbtxt \
  --outputs="/usr/local/data/experiments/newdata_exp1/train_exp51.0.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.1.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.2.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.3.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.4.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.5.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.6.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.7.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.8.lmdb:10,/usr/local/data/experiments/newdata_exp1/train_exp51.9.lmdb:10"
