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

I had problems at the beginning #27

Open
saiyuhang123 opened this issue Mar 12, 2024 · 1 comment
Open

I had problems at the beginning #27

saiyuhang123 opened this issue Mar 12, 2024 · 1 comment

Comments

@saiyuhang123
Copy link

import rware
import gym

env = gym.make("rware-tiny-2ag-v1")

When I run the above code I get an error:
env = gym.make("rware-tiny-2ag-v1")
File "D:\anconda_env\envs\robotic_warehouse\lib\site-packages\gym\envs\registration.py", line 640, in make
env = env_creator(**_kwargs)
File "D:\anconda_env\envs\robotic_warehouse\lib\site-packages\rware\warehouse.py", line 247, in init
self._use_slow_obs()
File "D:\anconda_env\envs\robotic_warehouse\lib\site-packages\rware\warehouse.py", line 359, in _use_slow_obs
for _ in range(self.n_agents)
File "D:\anconda_env\envs\robotic_warehouse\lib\site-packages\rware\warehouse.py", line 359, in
for _ in range(self.n_agents)
File "D:\anconda_env\envs\robotic_warehouse\lib\site-packages\gym\spaces\multi_binary.py", line 44, in init
assert (np.asarray(input_n) > 0).all() # n (counts) have to be positive
AssertionError
image-20240312163712957
The picture above is the package of my environment

@saiyuhang123 saiyuhang123 changed the title i I had problems at the beginning Mar 12, 2024
@Yu-zx
Copy link

Yu-zx commented May 13, 2024

gym==0.21.0

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