From b7cca092cd565297c44c7d4e5963b093153f05b0 Mon Sep 17 00:00:00 2001 From: huangju1993 Date: Mon, 5 Jun 2023 11:22:29 +0000 Subject: [PATCH] built-in/cv/detection/FasterRcnn_resnet101_ID0694_for_TensorFlow/test/train_full_8p.sh. Signed-off-by: huangju1993 --- .../test/train_full_8p.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/TensorFlow/built-in/cv/detection/FasterRcnn_resnet101_ID0694_for_TensorFlow/test/train_full_8p.sh b/TensorFlow/built-in/cv/detection/FasterRcnn_resnet101_ID0694_for_TensorFlow/test/train_full_8p.sh index c1db2c59b..0d46b9e1c 100644 --- a/TensorFlow/built-in/cv/detection/FasterRcnn_resnet101_ID0694_for_TensorFlow/test/train_full_8p.sh +++ b/TensorFlow/built-in/cv/detection/FasterRcnn_resnet101_ID0694_for_TensorFlow/test/train_full_8p.sh @@ -180,6 +180,7 @@ TrainingTime=`awk 'BEGIN{printf "%.2f\n",'${batch_size}'*1000/'${FPS}'}'` # 提取Loss到train_${CaseName}_loss.txt中,需要根据模型修改 grep "INFO:tensorflow:loss" $log_file|awk '{print $3}'|sed 's/,//g'|sed '/^$/d' >> $output_dir/$RANK_ID/train_${CaseName}_loss.txt +RANK_ID=0 ActualLoss=`awk 'END {print}' $output_dir/$RANK_ID/train_${CaseName}_loss.txt` echo "Network = ${Network}" > $output_dir/$RANK_ID/${CaseName}.log echo "RankSize = ${RANK_SIZE}" >> $output_dir/$RANK_ID/${CaseName}.log -- Gitee