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

from gym.wrappers import FlattenDictWrapper of cmd_util.py in ~/baselines/baselines/common is not correct #1051

Open
HeegerGao opened this issue Dec 10, 2019 · 0 comments

Comments

@HeegerGao
Copy link

The 12th line in cmd_util.py file is not correct:
from gym.wrappers import FlattenDictWrapper
This is out of date after gym 0.15.4. I think the correct code is:
try:
from gym.wrappers import FlattenDictWrapper
except:
# gym 0.15.4 remove FlattendDictWrapper
from gym.wrappers import FilterObservation, FlattenObservation

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