dyelax / Adversarial_Video_Generation

A TensorFlow Implementation of "Deep Multi-Scale Video Prediction Beyond Mean Square Error" by Mathieu, Couprie & LeCun.
MIT License
734 stars 184 forks source link

Deprecated functions #15

Open fverdoja opened 7 years ago

fverdoja commented 7 years ago

When running the code I get multiple errors due to the use of deprecated functions.

The function tf.train.SummaryWriter is deprecated, and current installations of Tensorflow don't support it anymore. It should be renamed to tf.summary.FileWriter.

Same thing for:

source: https://www.tensorflow.org/install/migration

Also, the order of the arguments of tf.concat is now swapped, so the call in file g_model.py, line 117 inputs = tf.concat(3, [inputs, last_gen_frames]) should be changed to inputs = tf.concat([inputs, last_gen_frames], 3)

source: https://github.com/tensorflow/tensorflow/issues/7031

If you want I can make a pull request with the changes above.

fverdoja commented 7 years ago

I made the pull request with the fix (https://github.com/dyelax/Adversarial_Video_Generation/pull/16)

dyelax commented 7 years ago

Hey @fverdoja, thanks so much for this! I'll check it out this weekend and merge if everything works well