HintsPredictionModel / scripts /infer_single.sh
Doul0414's picture
Initial upload: HintsPrediction
343e05c verified
#!/bin/bash
# 单步推理脚本 - 对单个病例进行推理
# 用法1: ./infer_single.sh /path/to/image1.png /path/to/image2.png ...
# 用法2: ./infer_single.sh --image_dir /path/to/case_folder/
cd "$(dirname "$0")/.."
python infer_single_case.py "$@" --threshold 0.5