p-christ/Deep-Reinforcement-Learning-Algorithms-with-PyTorch

Wrong parameter order

leolyg opened this issue · 0 comments

In agents/Base_Agent.py


  def print_rolling_result(self):
        """Prints out the latest episode results"""
        text = """"\r Episode {0}, Score: {3: .2f}, Max score seen: {4: .2f}, Rolling score: {1: .2f}, Max rolling score seen: {2: .2f}"""
        sys.stdout.write(text.format(len(self.game_full_episode_scores), self.rolling_results[-1], self.max_rolling_score_seen,
                                     self.game_full_episode_scores[-1], self.max_episode_score_seen))
        sys.stdout.flush()

the order of parameters seems to be wrong

By the way, what is the meaning of 'rolling_results'?