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

The atari's state.shape is (210,160,3),and u define the net's in_channel as env.shape[0] #23

Open
WonderSeven opened this issue Sep 14, 2018 · 3 comments

Comments

@WonderSeven
Copy link

This mainly causes the size error like ''Calculated padded input size per channel: (160 x 3). Kernel size: (8 x 8). Kernel size can't be greater than actual input size...'', so why not adjust the state's dim,maybe the code is :state = np.transpose(state, (2, 0, 1))or adjust the Net, but we may need to pay attention to this. 0.0

@WonderSeven
Copy link
Author

Is there anyone find the same issue or could answer for me, thanks a lot!

@krishnaw14
Copy link

In the script common/wrappers.py , the state.shape is changed to (3, 160, 210) when the function wrap_pytorch() is called. Hope this answers your question.

@WonderSeven
Copy link
Author

Thanks for your answer. This really help me solve the problem.

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

2 participants