-
Notifications
You must be signed in to change notification settings - Fork 609
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
module 'tensorflow' has no attribute 'variable_scope' #96
Comments
@systats May I know your Tensorflow version? Currently, RLCard only supports Tensorflow lower than 2.0 |
Well it is 2.0 :D Thanks and great library so far! |
Now the version is 1.15 and by calling DQNAgent I get the following error
Any idea? |
1.15 should be fine. Could you provide more details? Such as what Python version you are using and which line of code raises this error. |
I use python 3.7.3 and the error raises at
I am calling your package from R what works usually well. Thanks for your help! |
@systats Thanks for letting me know. We didn't consider the use case of calling from R before. We didn't test the package in R either. We may need some time to figure out the problem. Could you provide more information so that we can better reproduce the errors? It would be nice if you could provide the complete R code that calls the package, your R version, and maybe also your operating system. |
Sure, this is how far I got in reproducing this example of a Deep-Q Agent on Leduc Hold'em
And my setup looks like...
Thanks for your kind support! |
@systats Hi, the main reason is wrong inputs to DQN.
If you reclone and reinstall the code of RLCard in the master branch. The script should be able to run. |
Works fine thank you so much! |
Replace |
thx, it works for me! |
Hi I updated tensorflow but get this error for no-limit Texas Holdem:
Seems like a migration issue? tensorflow/tensorflow#7285
Thanks for any advice or fixes.
Best, Sy
The text was updated successfully, but these errors were encountered: