multiagent-particle-envs icon indicating copy to clipboard operation
multiagent-particle-envs copied to clipboard

Code for a multi-agent particle environment used in the paper "Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments"

Results 60 multiagent-particle-envs issues
Sort by recently updated
recently updated
newest added

def reward(self, agent, world): # squared distance from listener to landmark a = world.agents[0] dist2 = np.sum(np.square(a.goal_a.state.p_pos - a.goal_b.state.p_pos)) return -dist2 But world.agents[0] is the speaker

Traceback (most recent call last): File "D:/My_Research/MAS_code/Python/multiagent-particle-envs-master/bin/interactive.py", line 36, in env.render() File "D:\My_Research\MAS_code\Python\multiagent-particle-envs-master\bin\..\multiagent\environment.py", line 261, in render results.append(self.viewers[i].render(return_rgb_array = mode=='rgb_array')) File "D:\My_Research\MAS_code\Python\multiagent-particle-envs-master\bin\..\multiagent\rendering.py", line 110, in render self.window.flip() File "C:\Python27\lib\site-packages\pyglet\window\win32\__init__.py", line...

When I render the 'simple tag' scenario, agents escape the visible range so I cannot exactly examine the behavior of the agents. Is there any way to mask the unavailable...

I run my code on the `simple_tag.py` environment. But it occurs the error like this on the `core.py:200` while running: ![QQ截图20220420174753](https://user-images.githubusercontent.com/45333787/164240791-4e1c9808-62b8-4833-9ce2-6b7bd96897e7.png) Does anyone know how to slove it? Any suggestions...

Is there any function or method that I can add an image as environment's background? I want to add a grip map image that agent can interact with it. Any...

Hi, I run some scenarios like simple tag and I can only observed a partial window(sometimes the agent run out of the window,I can only see a part of the...

Python (3.5.4) OpenAI gym (0.10.5) tensorflow (1.8.0) numpy (1.14.5) maddpg code: https://github.com/openai/maddpg I got an error when I run the maddpg code in the simple scene and display it PS:...

Hello ,dear author, I saw someone on github reproduced maddpg in the mpe environment, the joint action generated each time in him is [array([1.3097883e-02, 9.7529411e-01, 4.0262565e-03, 6.8232100e -03, 7.5863604e-04], dtype...

Hi! Is it true that in simple_spread.py collisions are checked with the agents themselves: ` if agent.collide: ` ` for a in world.agents: ` ` if self.is_collision(a, agent): ` line:...

I am getting module not found error while running below command: **bin/examine.py examples/hide_and_seek_quadrant.jsonnet examples/lock_and_return.npz** ``` Inferred: names: examples/hide_and_seek_quadrant.jsonnet examples/lock_and_return.npz arguments: {} /home/amitmandliya/.local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a...