#!/bin/bash

set -e

bazel build -c opt vision/detection/tools:generate_patches_main

#./bazel-bin/vision/detection/tools/generate_patches_main \
#     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_12_tr.pbtxt" \
#     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_12.lmdb"
#
#./bazel-bin/vision/detection/tools/generate_patches_main \
#     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_13_tr.pbtxt" \
#     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_13.lmdb"
#
#./bazel-bin/vision/detection/tools/generate_patches_main \
#     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_14_tr.pbtxt" \
#     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_14.lmdb"

./bazel-bin/vision/detection/tools/generate_patches_main \
     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_15_tr.pbtxt" \
     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_15.lmdb"

./bazel-bin/vision/detection/tools/generate_patches_main \
     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_16_tr.pbtxt" \
     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_16.lmdb"

./bazel-bin/vision/detection/tools/generate_patches_main \
     --patch_generator_options_file="experimental/james/cascade_v1/exp1/patch_gen_17_tr.pbtxt" \
     --output="/usr/local/data/kitti/stage_1/kitti_pedestrian_patches_train_exp1_17.lmdb"
