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

Can we use it with Tenserflow 2.3.1 ? #110

Closed
deepakraina99 opened this issue Dec 7, 2020 · 5 comments
Closed

Can we use it with Tenserflow 2.3.1 ? #110

deepakraina99 opened this issue Dec 7, 2020 · 5 comments
Labels
question Further information is requested RTFM Answer is the documentation

Comments

@deepakraina99
Copy link

When I run the enjoy.py file, I get the following error:

ModuleNotFoundError: No module named 'tensorflow.contrib'

After googling this error, I found that this only works with Tensorflow 1.x.x versions

@araffin araffin added RTFM Answer is the documentation question Further information is requested labels Dec 7, 2020
@araffin
Copy link
Owner

araffin commented Dec 7, 2020

Hello,

As mentioned in the doc, SB2 officially only support TF1. There is an unofficial port, see hill-a/stable-baselines#1012 .
Our next major version, Stable-Baselines3 supports PyTorch.

@deepakraina99
Copy link
Author

Thanks for the information.

@amexn-me
Copy link

Have you tried any workaround?

@deepakraina99
Copy link
Author

No

@amexn-me
Copy link

I see. I tried downgrading TF to 1.15 like araffin said and it works for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested RTFM Answer is the documentation
Projects
None yet
Development

No branches or pull requests

3 participants