#!/bin/bash

set -e

bazel build -c opt --config=cuda vision/detection/tools:detection_evaluator_main
./bazel-bin/vision/detection/tools/detection_evaluator_main \
  --detection_evaluator_options_file="$PWD/experimental/james/scripts/det_eval.pbtxt" \
  --annotated_image_lmdb="/home/zoox/data/raw_img/video_raw_fix.lmdb" \
  --pr_curve="/home/zoox/data/raw_img/video_raw_fix.txt" \
  --alsologtostderr

./bazel-bin/vision/detection/tools/detection_evaluator_main \
  --detection_evaluator_options_file="$PWD/experimental/james/scripts/det_eval.pbtxt" \
  --annotated_image_lmdb="/home/zoox/data/raw_img/video_enc_fix.lmdb" \
  --pr_curve="/home/zoox/data/raw_img/video_enc_fix.txt" \
  --alsologtostderr
