A collection of generative methods implemented with TensorFlow (Deep Convolutional Generative Adversarial Networks (DCGAN), Variational Autoencoder (VAE) and DRAW: A Recurrent Neural Network For Image Generation).
Apache License 2.0
595
stars
167
forks
source link
AttributeError: 'module' object has no attribute 'global_variables_initializer' #13
Traceback (most recent call last):
File "main.py", line 43, in
model = VAE(FLAGS.hidden_size, FLAGS.batch_size, FLAGS.learning_rate)
File "/root/TensorFlow-VAE-GAN-DRAW/vae.py", line 51, in init
self.sess.run(tf.global_variables_initializer())
AttributeError: 'module' object has no attribute 'global_variables_initializer'
Traceback (most recent call last): File "main.py", line 43, in
model = VAE(FLAGS.hidden_size, FLAGS.batch_size, FLAGS.learning_rate)
File "/root/TensorFlow-VAE-GAN-DRAW/vae.py", line 51, in init
self.sess.run(tf.global_variables_initializer())
AttributeError: 'module' object has no attribute 'global_variables_initializer'