-
Notifications
You must be signed in to change notification settings - Fork 763
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
Error! TimeLimit' object has no attribute 'ale' #29
Comments
Hi, you can just pip install gym==0.7.0 solve this problem. This is because new gym 0.8.0 released and it is hard to use for this code. |
@Lan1991Xu Thanky you! |
I'm also running into this problem. How would we use this for the latest version of gym? |
Try to unwrap the env |
Only Breakout can be applied. def init(self, config): def _step(self, action): def lives(self): |
How to solve this problem? I try pip install gym==0.7.0, but it failed. In addition, I try the following code in main.py , it also failed. def init(self, config): def _step(self, action): def lives(self): |
I have the same issue; tried to revert gym to 0.7.4 and 0.7.3 (from repo) but then atari games will render as text. I've tried with other gym versions as well. I can only render atari envs using the latest version, but then dqn breaks. Any solution is greatly appreciated. |
I run this code in cpu and this error occurred.
TimeLimit' object has no attribute 'ale' Can anyone show me how to solve this matter?
Thank you !
The text was updated successfully, but these errors were encountered: