请教一下这段代码,为什么需要步长为2截取图片呢?

Author: piggggyyCreated Sep 19, 2024Updated Sep 19, 2024

def step(self, action): custom_done = False obs, _reward, _done, info = self.env.step(action) self.frame_stack.append(obs[::2, ::2, :])

Source: linyiLYi/street-fighter-ai