From 9366dc15bdafdbae25cca149783bd27cee4b995a Mon Sep 17 00:00:00 2001 From: libin <9070337+libin1581602217@user.noreply.gitee.com> Date: Thu, 8 Dec 2022 02:17:17 +0000 Subject: [PATCH] =?UTF-8?q?acc.log=E6=8F=90=E5=8F=96=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E5=80=BC=EF=BC=8C=E4=BF=AE=E6=94=B91p?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=20acc.log=E6=8F=90=E5=8F=96=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E7=B2=BE=E5=BA=A6=E5=80=BC=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?1p=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: libin <9070337+libin1581602217@user.noreply.gitee.com> --- .../EfficientNet_B0_ID0009_for_TensorFlow/test/train_full_1p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/test/train_full_1p.sh b/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/test/train_full_1p.sh index 2887a1572..70b92cd57 100644 --- a/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/test/train_full_1p.sh +++ b/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/test/train_full_1p.sh @@ -144,7 +144,7 @@ FPS=`grep 'logger.py:54' $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE echo "Final Performance images/sec : $FPS" #输出训练精度,需要模型审视修改 -train_accuracy=`grep -A 1 top1 $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk 'END {print $3}'` +train_accuracy=`grep -r top_1_accuracy $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE_ID.log |awk 'END {print $13}'|tr -d ,` #打印,不需要修改 echo "Final Train Accuracy : ${train_accuracy}" echo "E2E Training Duration sec : $e2e_time" -- Gitee