Fixed bug
This commit is contained in:
parent
27d87e9c92
commit
d9b7ee30be
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -116,7 +116,7 @@ def main():
|
||||||
|
|
||||||
episode_reward[player.player_id][step] = player.reward
|
episode_reward[player.player_id][step] = player.reward
|
||||||
|
|
||||||
if not no_training and ((step % horizon == 0 and step != 0):
|
if not no_training and (step % horizon == 0 and step != 0):
|
||||||
|
|
||||||
player.agent.learn()
|
player.agent.learn()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue