Skip to content

Commit

Permalink
[feat] Change dumped evaluation result file under
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyYang0714 committed Mar 19, 2021
1 parent 698e5ee commit b3b3c02
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/run_eval_nusc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ gpu_ids=$3
gpu_nums=$4
PY_ARGS=${@:5}
# --------------
folder='work_dirs/'$(dirname ${config_path#*/})
config=$(basename -s .py ${config_path})
# -----------------

Expand All @@ -19,7 +18,7 @@ python scripts/eval_nusc_det.py \
--version=v1.0-trainval \
--root=data/nuscenes/ \
--work_dir=$work_dir \
--gt_anns=data/nuscenes/anns/tracking_val.json 2>&1 | tee ${folder}/eval_det_nusc.txt
--gt_anns=data/nuscenes/anns/tracking_val.json 2>&1 | tee ${work_dir}/eval_det_nusc.txt

# AMOTA@1
export PYENV_VERSION=Nusc
Expand All @@ -28,7 +27,7 @@ python scripts/eval_nusc_mot.py \
--version=v1.0-trainval \
--root=data/nuscenes/ \
--work_dir=$work_dir \
--gt_anns=data/nuscenes/anns/tracking_val.json 2>&1 | tee ${folder}/eval_mot_nusc.txt
--gt_anns=data/nuscenes/anns/tracking_val.json 2>&1 | tee ${work_dir}/eval_mot_nusc.txt

# AMOTA@0.2
export PYTHONPATH="${PYTHONPATH}:scripts/nuscenes-devkit/python-sdk"
Expand All @@ -38,4 +37,4 @@ python scripts/eval_nusc_mot.py \
--root=data/nuscenes/ \
--work_dir=$work_dir \
--gt_anns=data/nuscenes/anns/tracking_val.json \
--amota_02 2>&1 | tee ${folder}/eval_mot_02_nusc.txt
--amota_02 2>&1 | tee ${work_dir}/eval_mot_02_nusc.txt

0 comments on commit b3b3c02

Please sign in to comment.