File size: 273 Bytes
343e05c
 
 
 
 
 
 
1
2
3
4
5
6
7
8
#!/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