dagcilibili / variational-autoencoder

Variational autoencoder implementation using Tensorflow and Python
10 stars 9 forks source link

TypeError: resize_images() got multiple values for argument 'method' #1

Open ehfo0 opened 7 years ago

ehfo0 commented 7 years ago

I got this error

  File "main_vae.py", line 27, in <module>
    save_epochs = args.save_epochs)
  File "D:\IDM\variational-autoencoder-master_5\variational-autoencoder-master\vae.py", line 48, in __init__
    self._create_network()
  File "D:\IDM\variational-autoencoder-master_5\variational-autoencoder-master\vae.py", line 86, in _create_network
    self._decoder_network()
  File "D:\IDM\variational-autoencoder-master_5\variational-autoencoder-master\vae.py", line 199, in _decoder_network
    resized_1 = tf.image.resize_images(g_1_images, int(16),int(16), method=tf.image.ResizeMethod.BILINEAR)
TypeError: resize_images() got multiple values for argument 'method'

I have the latest version of Tensorflow pls help fix it ! I am so tired of VAEs on mnist all the time!

lc123623 commented 6 years ago

I have trained your network, but the result is not good. The loss is very big during reconstruct-stage ,not to speak of generate new image. Could you show me your good result.