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

Regressions from gym and tensorflow #37

Open
Jaeyoung-Lim opened this issue Dec 26, 2019 · 1 comment
Open

Regressions from gym and tensorflow #37

Jaeyoung-Lim opened this issue Dec 26, 2019 · 1 comment

Comments

@Jaeyoung-Lim
Copy link
Member

Jaeyoung-Lim commented Dec 26, 2019

This package no longer works with the latest openai/gym(v0.15.4) and tensorflow (v2.0.0)

Error from the latest gym environment:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/jaeyoung/dev/reinmav-gym/gym_reinmav/run.py", line 11, in <module>
    from baselines.common.cmd_util import common_arg_parser, parse_unknown_args, make_vec_env, make_env
  File "/home/jaeyoung/dev/baselines/baselines/common/cmd_util.py", line 12, in <module>
    from gym.wrappers import FlattenDictWrapper
ImportError: cannot import name 'FlattenDictWrapper'

It is a shame that the CI was not able to catch this

@Jaeyoung-Lim
Copy link
Member Author

Looks like the following combination of versions work:

  • gym: v1.12.1
  • tensorflow-gpu: v1.15

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