We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hello!
Recently, I faced a problem while executing the train.py
It says : assert hasattr( AssertionError: The environment must specify an action space. https://www.gymlibrary.dev/content/environment_creation/
When I look through the train.py, I didn't find something like " self.action_space = spaces.Discrete(4)" or so.
Is there any way to fix this issue?
Thank you very much! Sorry to bother you.
The text was updated successfully, but these errors were encountered:
You probably just need to downgrade the version of the gym package, although I don't remember which version I was using exactly.
Sorry, something went wrong.
No branches or pull requests
Hello!
Recently, I faced a problem while executing the train.py
It says :
assert hasattr(
AssertionError: The environment must specify an action space. https://www.gymlibrary.dev/content/environment_creation/
When I look through the train.py, I didn't find something like " self.action_space = spaces.Discrete(4)" or so.
Is there any way to fix this issue?
Thank you very much! Sorry to bother you.
The text was updated successfully, but these errors were encountered: