at simple_tag.py
line 11 and 12, which means there are 1 good agents, and 3 adversaries
line 11 num_good_agents = 1
line 12 num_adversaries = 3
line 17 for i, agent in enumerate(world.agents):
line 21 agent.adversary = True if i < num_adversaries else False
The definition requires 1 good agent and 3 adversaries, but within the loop, it seems to be 3good agents and 1 adversaries in the agent's attribute definition.
at simple_tag.py
line 11 and 12, which means there are 1 good agents, and 3 adversaries line 11 num_good_agents = 1 line 12 num_adversaries = 3 line 17 for i, agent in enumerate(world.agents): line 21 agent.adversary = True if i < num_adversaries else False The definition requires 1 good agent and 3 adversaries, but within the loop, it seems to be 3good agents and 1 adversaries in the agent's attribute definition.