From 6b6beda14399393cfc9377fc0e1209dd2a8039f5 Mon Sep 17 00:00:00 2001 From: libin <9070337+libin1581602217@user.noreply.gitee.com> Date: Tue, 25 Jul 2023 02:48:56 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=80=82=E9=85=8Dconda?= =?UTF-8?q?=20=E8=84=9A=E6=9C=AC=E9=80=82=E9=85=8Dconda?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: libin <9070337+libin1581602217@user.noreply.gitee.com> --- .../test/train_full_8p_256bs_SGD.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_full_8p_256bs_SGD.sh b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_full_8p_256bs_SGD.sh index fe47982c0..90addd954 100644 --- a/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_full_8p_256bs_SGD.sh +++ b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_full_8p_256bs_SGD.sh @@ -77,6 +77,10 @@ do elif [[ $para == --bind_core* ]]; then bind_core=`echo ${para#*=}` name_bind="_bindcore" + elif [[ $para == --conda_name* ]];then + conda_name=`echo ${para#*=}` + source set_conda.sh + source activate $conda_name fi done -- Gitee From b353872ad8f3347a04e32bf94145b8617ba62a1f Mon Sep 17 00:00:00 2001 From: libin <9070337+libin1581602217@user.noreply.gitee.com> Date: Tue, 25 Jul 2023 02:53:03 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=80=82=E9=85=8Dconda?= =?UTF-8?q?=20=E8=84=9A=E6=9C=AC=E9=80=82=E9=85=8Dconda?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: libin <9070337+libin1581602217@user.noreply.gitee.com> --- .../test/train_full_squad1.1_base_8p.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TensorFlow2/built-in/nlp/bert-squad_ID1566_for_TensorFlow2.X/test/train_full_squad1.1_base_8p.sh b/TensorFlow2/built-in/nlp/bert-squad_ID1566_for_TensorFlow2.X/test/train_full_squad1.1_base_8p.sh index 84cb15e86..989b005a0 100644 --- a/TensorFlow2/built-in/nlp/bert-squad_ID1566_for_TensorFlow2.X/test/train_full_squad1.1_base_8p.sh +++ b/TensorFlow2/built-in/nlp/bert-squad_ID1566_for_TensorFlow2.X/test/train_full_squad1.1_base_8p.sh @@ -83,6 +83,10 @@ do fusion_off_file=`echo ${para#*=}` elif [[ $para == --auto_tune* ]];then auto_tune=`echo ${para#*=}` + elif [[ $para == --conda_name* ]];then + conda_name=`echo ${para#*=}` + source $cur_path/test/set_conda.sh + source activate $conda_name fi done ############维测参数############## -- Gitee