REPST #3

Merged
czzhangheng merged 42 commits from REPST into main 2025-12-20 16:03:22 +08:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 9b1cf5f0ce - Show all commits

View File

@ -52,9 +52,9 @@ for dataset in "${DATASETS[@]}"; do
continue
fi
# 执行测试命令并捕获输出
# 执行测试命令,同时捕获输出并显示在控制台上
echo "执行: python run.py --config $CONFIG_PATH"
output=$(python run.py --config "$CONFIG_PATH" 2>&1)
output=$(python run.py --config "$CONFIG_PATH" 2>&1 | tee /dev/tty)
# 如果没有找到明确的标记,回退到检查退出码
if [ $? -eq 0 ]; then