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

AttributeError: module 'tensorflow' has no attribute 'contrib' #9

Open
Annaisavailable opened this issue Oct 20, 2023 · 0 comments
Open

Comments

@Annaisavailable
Copy link

Hello! I ran into an issue when trying to execute the command 'SDL_VIDEODRIVER="dummy" python scripts/run.py --agent_cfg basic.yaml --scenario_cfg standard.yaml --mode eval' and received the following error message in the terminal: 'AttributeError: module 'tensorflow' has no attribute 'contrib''. Upon searching for a solution, I discovered that tf2 has removed tf.contrib. The suggested fix is to downgrade to tf1; however, it appears that tf1 is not compatible with Python 3.8, which is the version used in my conda environment. I am uncertain how to proceed and would appreciate guidance on solving this problem.

Please let me know if you have any suggestions or require further information. I would like to submit this as an issue on Github. Thank you for your help in advance!

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

1 participant