You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The picture above is the package of my environment
The text was updated successfully, but these errors were encountered:
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
The picture above is the package of my environment
The text was updated successfully, but these errors were encountered: