From c9153c8160e6fd650ecfa0e56a35f0ff47d7eadb Mon Sep 17 00:00:00 2001 From: liuyihang <1905527319@qq.com> Date: Thu, 31 Mar 2022 02:29:14 +0000 Subject: [PATCH] =?UTF-8?q?update=20Oct-ResNet=5FID0251=5Ffor=5FTensorFlow?= =?UTF-8?q?/test/train=5Ffull=5F1p.sh.=20full=E8=84=9A=E6=9C=AC=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=B2=BE=E5=BA=A6=E5=80=BC=E5=A4=9A=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E9=80=97=E5=8F=B7=EF=BC=8C=E5=B7=B2=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Oct-ResNet_ID0251_for_TensorFlow/test/train_full_1p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/cv/image_classification/Oct-ResNet_ID0251_for_TensorFlow/test/train_full_1p.sh b/TensorFlow/built-in/cv/image_classification/Oct-ResNet_ID0251_for_TensorFlow/test/train_full_1p.sh index e9100627a..ef4ae989b 100644 --- a/TensorFlow/built-in/cv/image_classification/Oct-ResNet_ID0251_for_TensorFlow/test/train_full_1p.sh +++ b/TensorFlow/built-in/cv/image_classification/Oct-ResNet_ID0251_for_TensorFlow/test/train_full_1p.sh @@ -155,7 +155,7 @@ FPS=`awk 'BEGIN {printf "%.2f\n",'${batch_size}'*'${batch_per_sec}'}'` echo "Final Performance images/sec : $FPS" #输出训练精度,需要模型审视修改 -train_accuracy=`grep "acc =" $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE_ID.log | tail -n 1 | awk -F " " '{print $9}'` +train_accuracy=`grep "acc =" $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE_ID.log | tail -n 1 | tr -d ','| awk -F " " '{print $9}'` #打印,不需要修改 echo "Final Train Accuracy : ${train_accuracy}" echo "E2E Training Duration sec : $e2e_time" -- Gitee