From 735c491c355f0763d161c5fb9d11509e513c9dca Mon Sep 17 00:00:00 2001 From: wangchang711 <488818571@qq.com> Date: Mon, 11 Apr 2022 02:50:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20=20BigGAN=5FID0088=5Ffor=5FTensorFlow/?= =?UTF-8?q?test/train=5Ffull=5F8p.sh.=20=E4=BF=AE=E6=94=B9epoch=E6=95=B0?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E4=BF=AE=E6=AD=A3=E7=B2=BE=E5=BA=A6=E5=8F=96?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BigGAN_ID0088_for_TensorFlow/test/train_full_8p.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TensorFlow/built-in/cv/image_synthesis/BigGAN_ID0088_for_TensorFlow/test/train_full_8p.sh b/TensorFlow/built-in/cv/image_synthesis/BigGAN_ID0088_for_TensorFlow/test/train_full_8p.sh index 364ef371f..fa5150ee0 100644 --- a/TensorFlow/built-in/cv/image_synthesis/BigGAN_ID0088_for_TensorFlow/test/train_full_8p.sh +++ b/TensorFlow/built-in/cv/image_synthesis/BigGAN_ID0088_for_TensorFlow/test/train_full_8p.sh @@ -20,7 +20,7 @@ data_path="" #网络名称,同目录名称 Network="BigGAN_ID0088_for_TensorFlow" #训练epoch -epoch=1000 +epoch=100 #训练batch_size RANK_SIZE=8 batch_size=64 @@ -191,7 +191,7 @@ BatchSize=${batch_size} DeviceType=`uname -m` CaseName=${Network}_bs${BatchSize}_${RANK_SIZE}'p'_'acc' -`grep "d_loss:" $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE_ID.log| awk '{print $14}' > $cur_path/output/$ASCEND_DEVICE_ID/train_${CaseName}_loss.txt` +`grep "d_loss:" $cur_path/output/$ASCEND_DEVICE_ID/train_$ASCEND_DEVICE_ID.log| awk '{print $13}' > $cur_path/output/$ASCEND_DEVICE_ID/train_${CaseName}_loss.txt` ActualLoss=`awk 'END {print}' $cur_path/output/$ASCEND_DEVICE_ID/train_${CaseName}_loss.txt` train_accuracy=${ActualLoss} #关键信息打印到${CaseName}.log中,不需要修改 -- Gitee