Open jramapuram opened 7 years ago
Looks like it is due to this hack:
# XXX(rafal): TensorFlow bug?? Default initializer should handle things well..
ses.run(init_model.h_top.initializer)
@jramapuram did you find what was causing the problem?
@dpkingma @TimSalimans Do you know which version of TF the code was written in ?
@havaeimo : Nope, I gave up on this. Looks like it was written pre tf1.0? I'v moved in to pytorch and use iaf from Jakub Tomczak's github :https://github.com/jmtomczak/vae_vpflows
I managed to make the code running with tf 0.9, cuda 7.5 and cudnn 4
After some fixes to the summary & split calls (i.e. they were refactored in tf1.0) I still can't get this code to work:
The same result utiziling
opt = tf.train.AdamOptimizer(hps.learning_rate)
I tried setting
reuse=None
to no avail. I'm probably missing something stupid here. Here is my fork with the changes: https://github.com/jramapuram/iaf/tree/hotfix/tf1.0