Skip to content

Commit

Permalink
format fps as int
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed Apr 17, 2020
1 parent b908cbd commit 7db1846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all/experiments/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test(self, episodes=100):

def _log_training_episode(self, returns, fps):
if not self._quiet:
print('episode: {}, frame: {}, fps: {}, returns: {}'.format(self.episode, self.frame, fps, returns))
print('episode: {}, frame: {}, fps: {}, returns: {}'.format(self.episode, self.frame, int(fps), returns))
if returns > self._best_returns:
self._best_returns = returns
self._returns100.append(returns)
Expand Down

0 comments on commit 7db1846

Please sign in to comment.