From 0738c97d70bb2c73cb04ff938c784c6a17d47017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 08:51:25 +0000 Subject: [PATCH 1/6] /classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index 2438a17264..6cb7c4fea4 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -54,7 +54,7 @@ if [ -d ${test_path_dir}/output/${ASCEND_DEVICE_ID} ];then else mkdir -p ${test_path_dir}/output/$ASCEND_DEVICE_ID fi - +sed -i "s|workers=args.workers|workers=128|g" ./main.py #################启动训练脚本################# #训练开始时间,不需要修改 -- Gitee From 4491b8bd28c2c572c8b8a0dc633835cb83c55a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 09:41:20 +0000 Subject: [PATCH 2/6] /ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index 6cb7c4fea4..dcf92ec4a9 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -54,7 +54,7 @@ if [ -d ${test_path_dir}/output/${ASCEND_DEVICE_ID} ];then else mkdir -p ${test_path_dir}/output/$ASCEND_DEVICE_ID fi -sed -i "s|workers=args.workers|workers=128|g" ./main.py +#sed -i "s|workers=args.workers|workers=128|g" ./main.py #################启动训练脚本################# #训练开始时间,不需要修改 @@ -65,7 +65,7 @@ python3 ./main.py \ -a resnet34 \ --addr=$(hostname -I |awk '{print $1}') \ --seed=49 \ - --workers=$(nproc) \ + --workers=128 \ --learning-rate=${learning_rate} \ --mom=0.9 \ --weight-decay=1.0e-04 \ -- Gitee From 0d3884220fcc1005699dac2bc7a98225fe259f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 10:46:12 +0000 Subject: [PATCH 3/6] /classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index dcf92ec4a9..9c97596079 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -54,7 +54,7 @@ if [ -d ${test_path_dir}/output/${ASCEND_DEVICE_ID} ];then else mkdir -p ${test_path_dir}/output/$ASCEND_DEVICE_ID fi -#sed -i "s|workers=args.workers|workers=128|g" ./main.py +sed -i "s|workers=args.workers|workers=128|g" ./main.py #################启动训练脚本################# #训练开始时间,不需要修改 @@ -65,7 +65,7 @@ python3 ./main.py \ -a resnet34 \ --addr=$(hostname -I |awk '{print $1}') \ --seed=49 \ - --workers=128 \ + --workers=${nproc} \ --learning-rate=${learning_rate} \ --mom=0.9 \ --weight-decay=1.0e-04 \ -- Gitee From 2bc17e08f9399dd77a0693f6cbe79b12e0612a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 10:47:24 +0000 Subject: [PATCH 4/6] fication/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index 9c97596079..6cb7c4fea4 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -65,7 +65,7 @@ python3 ./main.py \ -a resnet34 \ --addr=$(hostname -I |awk '{print $1}') \ --seed=49 \ - --workers=${nproc} \ + --workers=$(nproc) \ --learning-rate=${learning_rate} \ --mom=0.9 \ --weight-decay=1.0e-04 \ -- Gitee From 4f03534efffaa9c64bee8cf4a7d1535c3d31a156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 11:35:01 +0000 Subject: [PATCH 5/6] /classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index 6cb7c4fea4..540e240334 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -54,7 +54,7 @@ if [ -d ${test_path_dir}/output/${ASCEND_DEVICE_ID} ];then else mkdir -p ${test_path_dir}/output/$ASCEND_DEVICE_ID fi -sed -i "s|workers=args.workers|workers=128|g" ./main.py +#sed -i "s|workers=args.workers|workers=128|g" ./main.py #################启动训练脚本################# #训练开始时间,不需要修改 @@ -65,7 +65,7 @@ python3 ./main.py \ -a resnet34 \ --addr=$(hostname -I |awk '{print $1}') \ --seed=49 \ - --workers=$(nproc) \ + --workers=1024 \ --learning-rate=${learning_rate} \ --mom=0.9 \ --weight-decay=1.0e-04 \ -- Gitee From 5643a07011f79c40e0a32598c810fc0a6d6d57c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=B2=BE=E7=A7=91?= <2351312060@qq.com> Date: Mon, 28 Mar 2022 11:56:18 +0000 Subject: [PATCH 6/6] /classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh. --- .../ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh index 540e240334..8a9920fb01 100644 --- a/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/ResNet34_ID1594_for_PyTorch/test/train_performance_8p.sh @@ -54,7 +54,7 @@ if [ -d ${test_path_dir}/output/${ASCEND_DEVICE_ID} ];then else mkdir -p ${test_path_dir}/output/$ASCEND_DEVICE_ID fi -#sed -i "s|workers=args.workers|workers=128|g" ./main.py + #################启动训练脚本################# #训练开始时间,不需要修改 -- Gitee