#!/bin/bash

set -e

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

#./bazel-bin/vision/detection/tools/detection_evaluator_main \
#    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
#    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_12.pbtxt" \
#    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
#    --pr_curve="experimental/james/cascade_v1/exp1/pr_12.txt"
#
#./bazel-bin/vision/detection/tools/detection_evaluator_main \
#    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
#    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_13.pbtxt" \
#    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
#    --pr_curve="experimental/james/cascade_v1/exp1/pr_13.txt"
#
#./bazel-bin/vision/detection/tools/detection_evaluator_main \
#    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
#    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_14.pbtxt" \
#    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
#    --pr_curve="experimental/james/cascade_v1/exp1/pr_14.txt"

./bazel-bin/vision/detection/tools/detection_evaluator_main \
    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_15.pbtxt" \
    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
    --pr_curve="experimental/james/cascade_v1/exp1/pr_15.txt"

./bazel-bin/vision/detection/tools/detection_evaluator_main \
    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_16.pbtxt" \
    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
    --pr_curve="experimental/james/cascade_v1/exp1/pr_16.txt"

./bazel-bin/vision/detection/tools/detection_evaluator_main \
    --detection_evaluator_options_file="experimental/james/cascade_v1/exp1/pr_detection_options.pbtxt" \
    --cascade_classifier_file="experimental/james/cascade_v1/exp1/pr_classifier_17.pbtxt" \
    --data_source_file="experimental/james/cascade_v1/exp1/pr_data_source.pbtxt" \
    --pr_curve="experimental/james/cascade_v1/exp1/pr_17.txt"
