Skip to content
Snippets Groups Projects
Commit 8e13228e authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

14.08.2020

parent 734c31fc
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ class Extra(ObservationBuilder):
return action_dict
def rl_agent_act(self, observation, info, eps=0.0):
if len(self.random_agent_starter) != len(self.env.get_num_agents()):
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