From 34c7edf8bf59f45a0d78f2b5588068f3f6a97c56 Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Fri, 24 Mar 2023 07:31:47 +0000 Subject: [PATCH] update TensorFlow/contrib/cv/deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../deeplab-v3-plus/deeplabv3+_hw09124698/test/train_perf_1p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c08ded696..2ddf6e425 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}` -- Gitee