From a1e38b0f09dab95b76ceb30fd916ddebd308b607 Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Tue, 9 May 2023 01:34:51 +0000 Subject: [PATCH 1/3] update FasterRcnn_resnet50_ID0010_for_TensorFlow/FasterRcnn/configs/mask_rcnn_config.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../FasterRcnn/configs/mask_rcnn_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/cv/detection/FasterRcnn_resnet50_ID0010_for_TensorFlow/FasterRcnn/configs/mask_rcnn_config.py b/TensorFlow/built-in/cv/detection/FasterRcnn_resnet50_ID0010_for_TensorFlow/FasterRcnn/configs/mask_rcnn_config.py index 862da6bee..fdbd893ee 100644 --- a/TensorFlow/built-in/cv/detection/FasterRcnn_resnet50_ID0010_for_TensorFlow/FasterRcnn/configs/mask_rcnn_config.py +++ b/TensorFlow/built-in/cv/detection/FasterRcnn_resnet50_ID0010_for_TensorFlow/FasterRcnn/configs/mask_rcnn_config.py @@ -34,7 +34,7 @@ MASK_RCNN_CFG = { 'num_gpus': 1, # runtime parameters 'transpose_input': True, - 'iterations_per_loop': 1000, + 'iterations_per_loop': 1, 'num_cores': 8, 'use_tpu': False, # input preprocessing parameters -- Gitee From 060b13204143de3bb29f5b507dc0698768d9ffca Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Tue, 9 May 2023 01:40:13 +0000 Subject: [PATCH 2/3] update ResNet50_ID0360_for_TensorFlow2.X/test/train_performance_8p_256bs_SGD.sh. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../test/train_performance_8p_256bs_SGD.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_performance_8p_256bs_SGD.sh b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_performance_8p_256bs_SGD.sh index 768ba1b7a..7ef5bbe34 100644 --- a/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_performance_8p_256bs_SGD.sh +++ b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/train_performance_8p_256bs_SGD.sh @@ -76,6 +76,11 @@ 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 fi done -- Gitee From 0ed0f5b91377c16975708fa112098b2adfff9440 Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Tue, 9 May 2023 01:41:01 +0000 Subject: [PATCH 3/3] add ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh diff --git a/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh new file mode 100644 index 000000000..55087d862 --- /dev/null +++ b/TensorFlow2/built-in/cv/image_classification/ResNet50_ID0360_for_TensorFlow2.X/test/set_conda.sh @@ -0,0 +1,2 @@ +export PATH=/home/anaconda3/bin:$PATH +export LD_LIBRARY_PATH=/home/anaconda3/lib:$LD_LIBRARY_PATH \ No newline at end of file -- Gitee