ikostrikov / TensorFlow-VAE-GAN-DRAW

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

Closed d0znpp closed 7 years ago

d0znpp commented 7 years ago

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'

ikostrikov commented 7 years ago

Update TensorFlow to a more recent version. They introduced this function in 0.12.