Open grlinnn opened 2 years ago
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.
You probably just need to downgrade the version of the gym package, although I don't remember which version I was using exactly.
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.