run_compare.sh 409 Bytes
Newer Older
one's avatar
one committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -euo pipefail

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
root="$(cd "${script_dir}/.." && pwd)"
out_root="${OUT_ROOT:-${root}/results}"
device="${DEVICE:-0}"

bash "${script_dir}/run_one.sh" hip "${device}"
bash "${script_dir}/run_one.sh" fastpt-C "${device}"

python3 "${script_dir}/compare.py" "${out_root}" > "${out_root}/compare.csv"
cat "${out_root}/compare.csv"