From 7481e1bffb5c65ee36976b5ce350ff429d3814b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A2=9C=E4=BA=9A=E6=96=87?= <18013846960@189.cn> Date: Fri, 30 Dec 2022 09:07:59 +0000 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=AA=E4=BA=BA=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8FDEVICE=5FINDEX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 颜亚文 <18013846960@189.cn> --- .../cv/fusiongan/FusionGAN_ID2124_for_TensorFlow/model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/TensorFlow/contrib/cv/fusiongan/FusionGAN_ID2124_for_TensorFlow/model.py b/TensorFlow/contrib/cv/fusiongan/FusionGAN_ID2124_for_TensorFlow/model.py index 4e813d77f..ebd56f038 100644 --- a/TensorFlow/contrib/cv/fusiongan/FusionGAN_ID2124_for_TensorFlow/model.py +++ b/TensorFlow/contrib/cv/fusiongan/FusionGAN_ID2124_for_TensorFlow/model.py @@ -158,7 +158,6 @@ class CGAN(object): perf_list=[] fps_list=[] RANK_SIZE = int(os.getenv('RANK_SIZE')) - rank_id = int(os.getenv('DEVICE_INDEX')) if int(RANK_SIZE) > 1: rank_id = int(os.getenv('RANK_ID')) input = tf.trainable_variables() -- Gitee