Skip to content

Commit

Permalink
Merge branch 'main' into jingxu10/2629
Browse files Browse the repository at this point in the history
  • Loading branch information
svekars authored Nov 7, 2023
2 parents 36a8907 + 105e952 commit a5eee63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intermediate_source/mario_rl_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ def record(self, episode, epsilon, step):

logger.log_episode()

if e % 20 == 0:
if (e % 20 == 0) or (e == episodes - 1):
logger.record(episode=e, epsilon=mario.exploration_rate, step=mario.curr_step)


Expand Down

0 comments on commit a5eee63

Please sign in to comment.