From feee40519162939736a18407358be204aca9eb77 Mon Sep 17 00:00:00 2001 From: xuzongqi <1450345865@qq.com> Date: Thu, 14 Apr 2022 09:09:13 +0000 Subject: [PATCH] update train_ID0495_Bert-Squad_full_8p.sh. --- .../test/train_ID0495_Bert-Squad_full_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/nlp/BertGoogle_Series_for_TensorFlow/test/train_ID0495_Bert-Squad_full_8p.sh b/TensorFlow/built-in/nlp/BertGoogle_Series_for_TensorFlow/test/train_ID0495_Bert-Squad_full_8p.sh index ee8ae74e8..40a41dc7c 100644 --- a/TensorFlow/built-in/nlp/BertGoogle_Series_for_TensorFlow/test/train_ID0495_Bert-Squad_full_8p.sh +++ b/TensorFlow/built-in/nlp/BertGoogle_Series_for_TensorFlow/test/train_ID0495_Bert-Squad_full_8p.sh @@ -124,7 +124,7 @@ end_time=$(date +%s) e2e_time=$(( $end_time - $start_time )) #输出训练精度,需要模型审视修改 -train_accuracy=`grep -a "f1" ${cur_path}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk '{print $4}'|tr -d }` +train_accuracy=`grep -a "exact_match" ${cur_path}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk '{print $4}'|tr -d }` #打印,不需要修改 echo "Final Train Accuracy : ${train_accuracy}" echo "E2E Training Duration sec : $e2e_time" -- Gitee