DeepLearningFlappyBird
DeepLearningFlappyBird copied to clipboard
Failure in TensorFlow 1.0: module object has no attribute mul
Update deep_q_network.py: ... readout_action = tf.reduce_sum(tf.mul(readout, a), reduction_indices=1) ...
To: readout_action = tf.reduce_sum(tf.multiply(readout, a), reduction_indices=1)
TF 1.0 change: http://stackoverflow.com/questions/42217059/tensorflowattributeerror-module-object-has-no-attribute-mul
i faced the same problem
tf.mul was deprecated please use tf.multiply
please transform the “mul” into “multiply” because there are slight differences between different versions
i agree ,and maybe you want see this https://www.tensorflow.org/install/migration