#!/bin/bash 

set -e -x

bazel build --config=cuda -c opt vision/data/tools:split_data_main
./bazel-bin/vision/data/tools/split_data_main \
   --data_source=experimental/james/cascade_v1/new/newdata_source3_tl.pbtxt \
   --outputs="/usr/local/data/experiments/newdata_exp1/train5_tl.lmdb:90,/usr/local/data/experiments/newdata_exp1/test5_tl.lmdb:10" \
   --max_side=1242 \
   --concurrency=40 \
   --quality=85 \
   --uniquify_ids
