diff --git a/TensorFlow/contrib/cv/deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh b/TensorFlow/contrib/cv/deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh index c08ded6960345a4a31e4d8ab2a92c76e94d5132f..2ddf6e425c5ba38ce83e616f8695173eb788f7cb 100644 --- a/TensorFlow/contrib/cv/deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh +++ b/TensorFlow/contrib/cv/deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh @@ -107,7 +107,7 @@ e2e_time=$(( $end_time - $start_time )) echo "------------------ Final result ------------------" #输出性能FPS,需要模型审视修改 -i=`grep -a 'INFO:tensorflow:global_step/sec: ' ${cur_path}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk 'END {print $7}'` +i=`grep -a 'INFO:tensorflow:global ' ${cur_path}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk 'END {print $7}'` step_sec=${i##*(} #FPS=`grep "Final Performance images/sec" ${cur_path}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk '{print $5}'` #FPS=`expr ${RANK_SIZE} \* ${FPS}`