fix typo
This commit is contained in:
@@ -32,7 +32,7 @@ for agent in range(151):
|
|||||||
# print('step', i, 'reward', reward)
|
# print('step', i, 'reward', reward)
|
||||||
if done:
|
if done:
|
||||||
if reward < -500:
|
if reward < -500:
|
||||||
collising_agents.append(agent)
|
colliding_agents.append(agent)
|
||||||
print(" Collision")
|
print(" Collision")
|
||||||
break
|
break
|
||||||
env.close(filestr='idm/agent_{}'.format(agent))
|
env.close(filestr='idm/agent_{}'.format(agent))
|
||||||
|
|||||||
Reference in New Issue
Block a user