Skip to content

Commit 6b01a57

Browse files
committed
Updated to support TensorFlow 1.0
1 parent 96ef67b commit 6b01a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, batch_size=1, z_dim = 32, c_dim = 1, scale = 8.0, net_size =
5656
def init(self):
5757

5858
# Initializing the tensor flow variables
59-
init = tf.initialize_all_variables()
59+
init = tf.global_variables_initializer()
6060
# Launch the session
6161
self.sess = tf.Session()
6262
self.sess.run(init)

0 commit comments

Comments
 (0)