-
Notifications
You must be signed in to change notification settings - Fork 45.6k
TypeError: x and y must have the same dtype, got tf.float32 != tf.float64 #7719
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
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
directory of the model i used is models-mater/research/efficient-hrl |
Seeing the same thing with both tensorflow 1.15 and tensorflow-gpu 1.15 What is the top-level directory of the model you are using: models/research/efficient-hrl |
This was solved by changing like 152 of agent.py to credit to this post: https://stackoverflow.com/questions/56544619/how-to-fix-typeerror-x-and-y-must-have-the-same-dtype-got-tf-uint8-tf-floa |
Thanks for surfacing this. Would you like to make a pull request to fix this? |
This comment has been minimized.
This comment has been minimized.
Update agent.py according to changes noted tensorflow#7719
Update agent.py according to changes noted #7719
Update agent.py according to changes noted tensorflow#7719
I got the error when running the code of https://github.com/tensorflow/models/tree/master/research/efficient-hrl
on ubuntu 18.04 python 3.6 tensorflow 1.15 and other requirements at latest version.
When running
python scripts/local_train.py test1 hiro_orig ant_maze base_uvf suite
I got the following errors:
The text was updated successfully, but these errors were encountered: