def get_observation(self):

        assert self.buffer_count >= 2
        index = self.buffer_count % self.buffer_length - 1
        max_image = np.maximum(self.screen_buffer[index, ...],
                               self.screen_buffer[index - 1, ...])
        return self.resize_image(max_image)
Resize and merge the previous two screen images
dataset/ETHPy150Open spragunr/deep_q_rl/deep_q_rl/ale_experiment.py/ALEExperiment.get_observation