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 c1db2c59be605c18c468d9a5e1b7bdafe008f0b8..0d46b9e1ce5b79b13a90bc27602a063b1c32fd66 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