Spaces:
Runtime error
Runtime error
init
Browse files
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=
|
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 |
|