| # 单步推理脚本 - 对单个病例进行推理 | |
| # 用法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 | |
| # 单步推理脚本 - 对单个病例进行推理 | |
| # 用法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 | |