#!/bin/bash 

set -e -x

bazel build --config=cuda -c opt vision/data/tools:split_data_main
LMDB_MAP_SIZE=549755813888 \
  ./bazel-bin/vision/data/tools/split_data_main \
   --data_source=experimental/james/cascade_v1/new/newdata_source9_tr.pbtxt \
   --outputs="/usr/local/data/experiments/newdata_exp1/train9.lmdb:100" \
   --concurrency=20

bazel build --config=cuda -c opt vision/data/tools:split_data_main
LMDB_MAP_SIZE=549755813888 \
  ./bazel-bin/vision/data/tools/split_data_main \
   --data_source=experimental/james/cascade_v1/new/newdata_source9_va.pbtxt \
   --outputs="/usr/local/data/experiments/newdata_exp1/test9.lmdb:100" \
   --concurrency=20
