-
Notifications
You must be signed in to change notification settings - Fork 21
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
AttributeError: 'Viewer' object has no attribute 'gameframe' #5
Comments
Hi, in the examples there are some hardcoded paths, to run the experiments you have to set the paths yourself and define where you want to store the results. All the code can be run with openAI gym and the system specifications you listed. |
Try to make the experiment running, but none of the experiment could be run. There are errors like File "run.py", line 5, in It's questions like this that stop the experiment, how can I fix it? |
Hi @Lfang905, this repository is not maintained anymore. The code should work but you will need to update outdated libraries since the library versions were defined 4 years ago. |
Thank you for your reply, but as a novice, do not know how to find the outdated library to replace.Can you give me a hint. |
Try to make the experiment running, but none of the experiment could be run. There are errors like
1.PermissionError: [Errno 13] Permission denied: '/media//results'. (could be resolved by changing path)
2.AttributeError: 'dict' object has no attribute 'save_dir',..., (could be resolve by using [save_dir] instead of the dot notation)
3. AttributeError: 'dict' object has no attribute 'num_episodes'(does not know how to resolve)
4. Try to just run the gym environment without all the settings, but got the error:
AttributeError: 'Viewer' object has no attribute 'gameframe'
All these issues occurs on Mac OS Monterey with python 3.8, and Ubuntu 18.04 with python 3.8
Is there some working code that could be run with the openai gym?
The text was updated successfully, but these errors were encountered: