#!/bin/bash

set -e

DATA_SOURCE="${PWD}/experimental/james/scripts/corrector_round3_exp51_data_source.pbtxt"
CLASSIFIER="/usr/local/data/experiments/newdata_exp51/stage_07/pr_classifier_b1ca0dee.pbtxt"
OUTPUT="/usr/local/data/experiments/newdata_exp51/stage_07/ai_orig_train_b1ca0dee.pbtxt"

bazel run -c opt //vision/detection/tools:run_detector_main -- \
  --classifier_pbtxt="${CLASSIFIER}" \
  --data_source_pbtxt="${DATA_SOURCE}" \
  --clear_image_data \
  --output="${OUTPUT}" \
  --zoox_concurrency=32 \
  --use_gpu=false \
  --alsologtostderr
