Skip to content

Commit

Permalink
update caffe-test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeeeanut committed Jul 11, 2024
1 parent 80379ef commit da55d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 24-07/caffe/shell/caffe-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da55d5a

Please sign in to comment.