Skip to content

How to stack frames ? #296

@simoninithomas

Description

@simoninithomas

Hi, I'm a little bit confused: I'm implementing a DQN in tensorflow and I want to stack each 4 frames.

I saw that in one of the issues you explained that we can use frame_repeat that defines for how many frames the given action will be executed. game.make_action(actions[a], frame_repeat)
First, is there the best way to get 4 frames?

Second, how we get the 4 frames?

Thanks for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions