Closed tessavdheiden closed 4 years ago
Hi @tessavdheiden, did you find the answer on that?
Hi @Kimonili, yes, please look at this piece. Here you see that an action is substituted with only the last part of itself. You know what I mean? First part is used for agent.action.u, second part for agent.action.c
Yes @tessavdheiden I see. So its possible for an agent to be able to speak and move as well. The thing is that when run this code:
env.action_space[agent_with_MultiDiscrete2_action_space].n
I get an error. My code structure is such that I need to know the number of actions for each agent.
Where is this line?
Hi!
In the environment.py a moving and/or speaking action is executed. If an agent has both, they are not executed. In this piece of code, actions are appended, and in the function only action[0] is used.
Is it true that the environment does not work with agents that both talk and move?