Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

module 'tensorflow' has no attribute 'contrib' #48

Open
relativisticpoint opened this issue Jun 8, 2022 · 0 comments
Open

module 'tensorflow' has no attribute 'contrib' #48

relativisticpoint opened this issue Jun 8, 2022 · 0 comments

Comments

@relativisticpoint
Copy link

I'm trying to run the script hanabi-learning-environment-master/hanabi_learning_environment/agents/rainbow/run_experiment.py but I have an error that says "AttributeError: module 'tensorflow' has no attribute 'contrib'", (I already have tensorflow 2.4.1 and all the necessary modules). I also found this stackoverflow page that addresses this problem, but couldn't upgrade the tensorflow 1.x code to tensorflow 2.x (the same AttributeError occurs when I run train.py because it also imports dqn.py that uses the attribute config of tensorflow which I guess, is no longer available on tensorflow versions 2.X)

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

No branches or pull requests

1 participant