Skip to content
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

'Overcooked_LLMA_V4' object has no attribute 'seed' #13

Open
paulzyzy opened this issue Dec 12, 2024 · 1 comment
Open

'Overcooked_LLMA_V4' object has no attribute 'seed' #13

paulzyzy opened this issue Dec 12, 2024 · 1 comment

Comments

@paulzyzy
Copy link

Hi, when I run sh scripts/tomato_salad_ppo_llm.sh, I meet the following error:
Traceback (most recent call last):
File "/home/yuz23046/TWOSOME/twosome/overcooked/ppo_llm_pomdp.py", line 184, in
envs = gym.vector.SyncVectorEnv(
File "/home/yuz23046/miniconda3/envs/twosome/lib/python3.9/site-packages/gym/vector/sync_vector_env.py", line 52, in init
self.envs = [env_fn() for env_fn in env_fns]
File "/home/yuz23046/miniconda3/envs/twosome/lib/python3.9/site-packages/gym/vector/sync_vector_env.py", line 52, in
self.envs = [env_fn() for env_fn in env_fns]
File "/home/yuz23046/TWOSOME/twosome/overcooked/ppo_llm_pomdp.py", line 126, in thunk
env.seed(seed)
File "/home/yuz23046/miniconda3/envs/twosome/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/yuz23046/miniconda3/envs/twosome/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
File "/home/yuz23046/miniconda3/envs/twosome/lib/python3.9/site-packages/gym/core.py", line 241, in getattr
return getattr(self.env, name)
AttributeError: 'Overcooked_LLMA_V4' object has no attribute 'seed'

@WeihaoTan
Copy link
Owner

Hi. Which version of gym do you use? Did you install the libraries with the requirement.txt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants