#!/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_source5_tl_v2_filter.pbtxt \
   --outputs="/usr/local/data/experiments/newdata_exp1/train7_fs_tl.lmdb:90,/usr/local/data/experiments/newdata_exp1/test7_fs_tl.lmdb:10" \
   --concurrency=10 \
   --uniquify_ids
