Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in TensorFlow 1.0: module object has no attribute mul #28

Open
marcoshaw opened this issue Feb 16, 2017 · 4 comments
Open

Failure in TensorFlow 1.0: module object has no attribute mul #28

marcoshaw opened this issue Feb 16, 2017 · 4 comments

Comments

@marcoshaw
Copy link

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

@soul192404
Copy link

i faced the same problem

@saselovejulie
Copy link

tf.mul was deprecated please use tf.multiply

@littleheap
Copy link

please transform the “mul” into “multiply” because there are slight differences between different versions

@ExcaliburAir
Copy link

i agree ,and maybe you want see this
https://www.tensorflow.org/install/migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants