From 3ea325ab0cbcd5b4c3fa138bd250cf851a15a603 Mon Sep 17 00:00:00 2001 From: hxxhl88 <736544296@qq.com> Date: Thu, 31 Mar 2022 17:27:25 +0800 Subject: [PATCH] modify for casename --- .../test/train_full_1p.sh | 6 +++++- .../test/train_performance_1p.sh | 6 +++++- .../test/train_performance_bs128_1p.sh | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_full_1p.sh b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_full_1p.sh index ea29b44b1..3008cd7c9 100644 --- a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_full_1p.sh +++ b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_full_1p.sh @@ -177,7 +177,11 @@ echo "E2E Training Duration sec : $e2e_time" #训练用例信息,不需要修改 BatchSize=${batch_size} DeviceType=`uname -m` -CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'acc' +if [[ $dynamic_bs == "" || $dynamic_bs == "False" ]];then + CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'acc' +else + CaseName=${Network}_dynamic_bs${BatchSize}_${RANK_SIZE}'p'_'acc' +fi ##获取性能数据,不需要修改 #吞吐量 diff --git a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_1p.sh b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_1p.sh index 5a9685928..8175b5320 100644 --- a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_1p.sh +++ b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_1p.sh @@ -179,7 +179,11 @@ echo "E2E Training Duration sec : $e2e_time" #训练用例信息,不需要修改 BatchSize=${batch_size} DeviceType=`uname -m` -CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +if [[ $dynamic_bs == "" || $dynamic_bs == "False" ]];then + CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +else + CaseName=${Network}_dynamic_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +fi ##获取性能数据,不需要修改 #吞吐量 diff --git a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_bs128_1p.sh b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_bs128_1p.sh index d1cd656a5..eeddec350 100644 --- a/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_bs128_1p.sh +++ b/TensorFlow/built-in/audio/Tacotron2-v1-Encoder_ID1997_for_TensorFlow/test/train_performance_bs128_1p.sh @@ -179,7 +179,11 @@ echo "E2E Training Duration sec : $e2e_time" #训练用例信息,不需要修改 BatchSize=${batch_size} DeviceType=`uname -m` -CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +if [[ $dynamic_bs == "" || $dynamic_bs == "False" ]];then + CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +else + CaseName=${Network}_dynamic_bs${BatchSize}_${RANK_SIZE}'p'_'perf' +fi ##获取性能数据,不需要修改 #吞吐量 -- Gitee