Skip to content

Commit

Permalink
Merge pull request #14 from s-mawjee/patch-1
Browse files Browse the repository at this point in the history
Update episode_count to self.episode_count
  • Loading branch information
kandouss committed Aug 24, 2020
2 parents 8ca6e2c + f625ef4 commit e88c40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/human_player.py
Expand Up @@ -26,7 +26,7 @@ def start_episode(self):

def end_episode(self):
print(
f"Finished episode {episode_count} after {self.step_count} steps."
f"Finished episode {self.episode_count} after {self.step_count} steps."
f" Episode return was {self.cumulative_reward}."
)
self.episode_count += 1
Expand Down Expand Up @@ -86,4 +86,4 @@ def end_episode(self):

obs_list = next_obs_list

human.end_episode()
human.end_episode()

0 comments on commit e88c40b

Please sign in to comment.