You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
tf.pack, which should be renamed to tf.stack.
tf.scalar_summary, which should be renamed to tf.summary.scalar.
tf.merge_summary, which should be renamed to tf.summary.merge.
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)
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 totf.summary.FileWriter
.Same thing for:
tf.pack
, which should be renamed totf.stack
.tf.scalar_summary
, which should be renamed totf.summary.scalar
.tf.merge_summary
, which should be renamed totf.summary.merge
.source: https://www.tensorflow.org/install/migration
Also, the order of the arguments of
tf.concat
is now swapped, so the call in fileg_model.py
, line 117inputs = tf.concat(3, [inputs, last_gen_frames])
should be changed to
inputs = tf.concat([inputs, last_gen_frames], 3)
source: tensorflow/tensorflow#7031
If you want I can make a pull request with the changes above.
The text was updated successfully, but these errors were encountered: