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

Excepted as: Error when checking input: expected input_1 to have shape (80, 320, 3) but got array with shape (160, 320, 3) #8

Open
ghost opened this issue Nov 9, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 9, 2018

Hey I get this error:
Excepted as: Error when checking input: expected input_1 to have shape (80, 320, 3) but got array with shape (160, 320, 3) do you know why ?

@ghost
Copy link
Author

ghost commented Nov 9, 2018

I changed
image = frame2numpy(message['frame'], (320,160))
to
image = frame2numpy(message['frame'], (320,80))
and it worked
but I get only -0.998 ad Category 1 Decimals
Any idea why ?

@hemanth2410
Copy link

yeah, I am experiencing the same issue, Deep GTA is actually sending only upper half of screen.
so you are getting error "Error when checking input: expected input_1 to have shape (80, 320, 3) but got array with shape (160, 320, 3) "

@liushaowei123
Copy link

author, can you show how you choice the image from 160 to 80

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