From 5b78a01b8e699748140ebc811bf9f918d7a8e891 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:03:45 +0000 Subject: [PATCH 01/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh index 7e643c5b5..a2556c445 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 2 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From 540bd184745ff8b3b522f28304e7821ddc66ca8b Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:04:14 +0000 Subject: [PATCH 02/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh index 067984fd4..fdc68752f 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 2 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From ec8faedcfef1819bef9bc49a6eb7caf943a16da2 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:22:45 +0000 Subject: [PATCH 03/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh index a2556c445..73e5c9095 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh @@ -115,7 +115,7 @@ echo "------------------ Final result ------------------" #输出性能FPS,需要模型审视修改 #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` -time=`grep -rn 'epoch 2 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` +time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` #打印,不需要修改 -- Gitee From 7825409eeb23d9ef452ca02f04f5d21fd8f724b9 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:23:10 +0000 Subject: [PATCH 04/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh index fdc68752f..631b7afdf 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh @@ -115,7 +115,7 @@ echo "------------------ Final result ------------------" #输出性能FPS,需要模型审视修改 #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` -time=`grep -rn 'epoch 2 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` +time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` #打印,不需要修改 -- Gitee From fb65271cbf38de7ae43aedb7ca80e61cca77a749 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:32:24 +0000 Subject: [PATCH 05/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh index 631b7afdf..aae56ccb3 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'100'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From c99cae6eb863aa25b46f582c441ab03511ea7292 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:32:58 +0000 Subject: [PATCH 06/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh index 73e5c9095..b53de2f0e 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'100'*'${batch_size}'/'${time}'}'*'${RANK_SIZE}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'100'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From 537d5926aab2091f89af284118c948a62043fe4e Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:34:01 +0000 Subject: [PATCH 07/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh index b53de2f0e..4e102ecb9 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'100'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'500'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From b5e15847f4e9c65a33226a4872cf06799f4a8484 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:34:23 +0000 Subject: [PATCH 08/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh index aae56ccb3..b084e48ee 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'100'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'500'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From fa23cdce26b8eb296f6bb82cf3d90322f261b3fa Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:40:11 +0000 Subject: [PATCH 09/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh index b084e48ee..5307e9b73 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_8p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'500'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'50'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee From a1ab0f42afd1ef92fac56648eca4be0acad6ece7 Mon Sep 17 00:00:00 2001 From: majun121 <867479212@qq.com> Date: Wed, 13 Jul 2022 06:40:31 +0000 Subject: [PATCH 10/10] update WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh. --- .../WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh index 4e102ecb9..02496452e 100644 --- a/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh +++ b/TensorFlow/built-in/recommendation/WideDeep_ID2712_for_TensorFlow/test/train_performance_4p.sh @@ -116,7 +116,7 @@ echo "------------------ Final result ------------------" #FPS=`grep 'fps :' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F' ' '{print $25}' | tail -n 1` time=`grep -rn 'epoch 4 total time =' $cur_path/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log| awk -F '=' '{print $2}'|sed s/[[:space:]]//g` -FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'500'*'${batch_size}'/'${time}'}'` +FPS=`awk 'BEGIN{printf "%.2f\n",'${RANK_SIZE}'*'50'*'${batch_size}'/'${time}'}'` #打印,不需要修改 echo "Final Performance images/sec : $FPS" -- Gitee