Browse Source

增加评估脚本

main
fhw 1 year ago
parent
commit
d4deb7eef1
  1. 12
      run_test.sh

12
run_test.sh

@ -0,0 +1,12 @@
#!/bin/bash
# Python 脚本路径
PYTHON_SCRIPT="tools/test.py"
# 固定的参数
CONFIG_FILE="configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w32_coco_256x192.py"
CHECKPOINT_FILE="checkpoints/hrnet/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth"
WORK_DIR="test/hrnet_w48_256x192"
# 执行 Python 脚本并传递固定的参数
python $PYTHON_SCRIPT $CONFIG_FILE $CHECKPOINT_FILE --work-dir $WORK_DIR
Loading…
Cancel
Save