Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion about the input #38

Closed
bigtreeljc opened this issue Apr 22, 2017 · 0 comments
Closed

Confusion about the input #38

bigtreeljc opened this issue Apr 22, 2017 · 0 comments

Comments

@bigtreeljc
Copy link

Are the input really the last 4 frames or it's just one frame stacked into four? The code below seem to indicate it's one frame stacked into four as serve as the input.

do_nothing[0] = 1
x_t, r_0, terminal = game_state.frame_step(do_nothing)
x_t = cv2.cvtColor(cv2.resize(x_t, (80, 80)), cv2.COLOR_BGR2GRAY)
ret, x_t = cv2.threshold(x_t,1,255,cv2.THRESH_BINARY)
s_t = np.stack((x_t, x_t, x_t, x_t), axis=2)
@bigtreeljc bigtreeljc changed the title Doubles about the input Confusion about the input Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant