wahaha commited on
Commit
445332a
1 Parent(s): 34a888d
Files changed (1) hide show
  1. test1.py +1 -1
test1.py CHANGED
@@ -14,7 +14,7 @@ class ImportGraph:
14
  self.sess = tf.Session(graph=self.graph, config=tf.ConfigProto(allow_soft_placement=True, gpu_options=tf.GPUOptions(allow_growth=True)))
15
  with self.graph.as_default():
16
  test_real = tf.placeholder(tf.float32, [1, None, None, 3], name='test')
17
- with tf.variable_scope("generator", reuse=False):
18
  self.test_generated = generator.G_net(test_real).fake
19
  saver = tf.train.Saver()
20
 
 
14
  self.sess = tf.Session(graph=self.graph, config=tf.ConfigProto(allow_soft_placement=True, gpu_options=tf.GPUOptions(allow_growth=True)))
15
  with self.graph.as_default():
16
  test_real = tf.placeholder(tf.float32, [1, None, None, 3], name='test')
17
+ with tf.variable_scope("generator", reuse=True):
18
  self.test_generated = generator.G_net(test_real).fake
19
  saver = tf.train.Saver()
20