Pre-Trained-Language-Models-for-Interactive-Decision-Making
Pre-Trained-Language-Models-for-Interactive-Decision-Making copied to clipboard
gym.make('vh_graph-v0') error
hi there, i follow your vh_mdp/example_script.py but when creating the env, I encountered an error
Traceback (most recent call last): File "Pre-Trained-Language-Models-for-Interactive-Decision-Making/vh_mdp/example_script.py", line 12, in
env = gym.make('vh_graph-v0') ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/anaconda3/envs/vh/lib/python3.11/site-packages/gym/envs/registration.py", line 669, in make env = PassiveEnvChecker(env) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/anaconda3/envs/vh/lib/python3.11/site-packages/gym/wrappers/env_checker.py", line 20, in init assert hasattr( ^^^^^^^^ AssertionError: The environment must specify an action space. https://www.gymlibrary.dev/content/environment_creation/
Could you please take a look ?
gym version: 0.26.2