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

KeyError: "terminal_observation" in dqn.py #155

Closed
Jackory opened this issue Apr 9, 2022 · 1 comment
Closed

KeyError: "terminal_observation" in dqn.py #155

Jackory opened this issue Apr 9, 2022 · 1 comment

Comments

@Jackory
Copy link

Jackory commented Apr 9, 2022

Problem Description

when I run cleanrl/dqn.py, an error occurred:
in line 174:
image

My package version is here:
torch==1.7.1
gym==0.18.3
stable_baselines3==1.10

@vwxyzjn
Copy link
Owner

vwxyzjn commented Apr 9, 2022

Please use the latest gym. Our master pins gym==0.23.1.

To avoid having this problem I also suggest using poetry install. See https://docs.cleanrl.dev/get-started/installation/

Feel free to re-open this issue if you still have trouble.

@vwxyzjn vwxyzjn closed this as completed Apr 9, 2022
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

2 participants