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
(None, 22) Tensor is is not an element of this graph, when trying to get examples/rl_with_open_ai_gym_wrapper.py to work #229
Comments
Hi @EllangoK, Can you try pinning |
I use
|
This solve the issue on my TF 2.4.0 https://stackoverflow.com/a/66955935/9477338 |
I'm glad to hear it. I will add revisiting this example / the docs to my todo list. |
@hsahovic Actually I'm not the original asker. Not sure if my solution work for him or not. |
Oops, my bad. Sorry about that! |
How are you getting I keep on getting this error, and like I previously mentioned I never figured out how you got
|
@EllangoK I use |
The You just install the package and ignore whatever the package want you to install. |
@DableUTeeF thanks! Yeah, that works combined with your earlier link of modifying the len if statement in DQN agent, I really appreciate it. |
Thanks for both of your feedbacks - I'll revisit this example as it's clearly outdated. |
Hi, I was trying to run examples/rl_with_open_ai_gym_wrapper.py on an Ubuntu 20.04 system natively just from terminal, and I keep on running into this error
from here
I thought this was a compatability error, so I tried to install older tensorflow versions as I saw this was using tensorflow==2.0.0b1 and they mentioned it working.
However, I never actually managed to get tensorflow==2.0.0b1. I did get 2.0.0 though in Python 3.7.12, but I get the same issue.
My installed packages with python 3.9.7, let me know if what you want the 3.7.12 config, but I don't think the tensor flow version is necessarily the issue.
The text was updated successfully, but these errors were encountered: