Skip to content
Snippets Groups Projects
Commit 64c0f418 authored by u216993's avatar u216993
Browse files

Q&D

parent 30d11696
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ class Extra(ObservationBuilder):
return observation
def rl_agent_act(self, observation, info, eps=0.0):
def rl_agent_act_ADRIAN(self, observation, info, eps=0.0):
self.loadAgent()
action_dict = {}
for a in range(self.env.get_num_agents()):
......@@ -351,7 +351,7 @@ class Extra(ObservationBuilder):
return action_dict
def rl_agent_act_ADRIAN(self, observation, info, eps=0.0):
def rl_agent_act(self, observation, info, eps=0.0):
if len(self.random_agent_starter) != self.env.get_num_agents():
self.random_agent_starter = np.random.random(self.env.get_num_agents()) * 1000.0
self.loadAgent()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment