From 29bec02a5763590f0195816d7a3e20c83044a42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=8B=E6=B4=8B?= <10527367+yang-yang-zhang123456@user.noreply.gitee.com> Date: Wed, 23 Mar 2022 02:32:11 +0000 Subject: [PATCH] update TensorFlow/contrib/nlp/SEQUENCE_TAGGING_ID2097_for_TensorFlow/test/train_full_1p.sh. --- .../test/train_full_1p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/contrib/nlp/SEQUENCE_TAGGING_ID2097_for_TensorFlow/test/train_full_1p.sh b/TensorFlow/contrib/nlp/SEQUENCE_TAGGING_ID2097_for_TensorFlow/test/train_full_1p.sh index b07dc8761..7704c6538 100644 --- a/TensorFlow/contrib/nlp/SEQUENCE_TAGGING_ID2097_for_TensorFlow/test/train_full_1p.sh +++ b/TensorFlow/contrib/nlp/SEQUENCE_TAGGING_ID2097_for_TensorFlow/test/train_full_1p.sh @@ -118,7 +118,7 @@ else fi # 性能相关数据计算 -StepTime=`grep "sec/step :" ${print_.log} | awk -F ':' '{print $5}' | awk '{sum+=$1} END {print sum/NR}'` +StepTime=`grep "sec/step :" ${print_log} | awk -F ':' '{print $5}' | awk '{sum+=$1} END {print sum/NR}'` FPS=`awk 'BEGIN{printf "%.2f\n", '${batch_size}'/'${StepTime}'}'` # 精度相关数据计算 -- Gitee