Simple Speaker Listener

environment gif

This environment is part of the mpe environments. Please read that page first for general information.

Name Value
Actions Discrete
Agents 2
Parallel API True
Manual Control No
Action Shape (3),(5)
Action Values Discrete(3),(5)
Observation Shape (3),(11)
Observation Values (-inf,inf)
Import from pettingzoo.mpe import simple_speaker_listener_v2
Agents agents=[speaker_0, listener_0]
Average Total Reward -575.6

Agent Environment Cycle

environment aec diagram

Simple Speaker Listener

This environment is similar to simple_reference, except that one agent is the ‘speaker’ (gray) and can speak but cannot move, while the other agent is the listener (cannot speak, but must navigate to correct landmark).

Speaker observation space: [goal_id]

Listener observation space: [self_vel, all_landmark_rel_positions, communication]

Speaker action space: [say_0, say_1, say_2, say_3, say_4, say_5, say_6, say_7, say_8, say_9]

Listener action space: [no_action, move_left, move_right, move_down, move_up]

Arguments

simple_speaker_listener.env(max_frames=25)

max_frames: number of frames (a step for each agent) until game terminates