From da55d5a52e111411ffaa25d16d12f9e5833df73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E4=BD=B3=E5=87=AF?= <1254589836@qq.com> Date: Thu, 11 Jul 2024 16:05:07 +0800 Subject: [PATCH] update caffe-test.sh --- 24-07/caffe/shell/caffe-test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/24-07/caffe/shell/caffe-test.sh b/24-07/caffe/shell/caffe-test.sh index f1fe8c5..a8eafc6 100644 --- a/24-07/caffe/shell/caffe-test.sh +++ b/24-07/caffe/shell/caffe-test.sh @@ -55,9 +55,9 @@ do # 执行caffe time命令并将最后10行输出追加到输出文件 echo ""$file"正在测试中" ./perf_information_get.sh "caffe time -model "$file"" "$WORKSPACE/perf" &> temp_output.txt - tail -n 13 temp_output.txt > output.txt - echo "$file" > output-check.txt - tail -n 13 temp_output.txt > output-check.txt + tail -n 13 temp_output.txt >> output.txt + echo "$file" >> output-check.txt + tail -n 13 temp_output.txt >> output-check.txt rm temp_output.txt echo ""$file"测试完成" fi