From 44ccf3c8936b46d74c6f3ef8990fa93b26eea7d6 Mon Sep 17 00:00:00 2001
From: Atlas_hrp <haoripei@huawei.com>
Date: Wed, 13 Oct 2021 17:26:30 +0800
Subject: [PATCH] =?UTF-8?q?[=E6=A8=A1=E5=9E=8B=E8=AE=AD=E7=BB=83]=20?=
 =?UTF-8?q?=E5=8E=BB=E6=8E=89save=5Fgraph=E4=B8=8Epre=5Ftrained=E7=9A=84?=
 =?UTF-8?q?=E8=80=A6=E5=90=88=20[=E4=BF=AE=E6=94=B9=E4=BA=BA]=20haoripei?=
 =?UTF-8?q?=20[=E5=AE=A1=E6=A0=B8=E4=BA=BA]=20chenshushu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 official/cv/resnet/train.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/official/cv/resnet/train.py b/official/cv/resnet/train.py
index 166146ee7..b09f6a18e 100644
--- a/official/cv/resnet/train.py
+++ b/official/cv/resnet/train.py
@@ -133,8 +133,6 @@ def set_parameter():
     if target == "CPU":
         config.run_distribute = False
 
-    config.save_graphs = not config.pre_trained
-
     # init context
     if config.mode_name == 'GRAPH':
         if target == "Ascend":
-- 
GitLab