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

Cannot feed value of shape (1, 160, 224, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)' #39

Open
KobanBanan opened this issue Jul 26, 2021 · 2 comments

Comments

@KobanBanan
Copy link

KobanBanan commented Jul 26, 2021

To test out the app i found some open source stream rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
The i run app.py and than camera_client_0.py the flask app shows in logs
Cannot feed value of shape (1, 160, 224, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)'

Does anybody faced this issue?

@KobanBanan KobanBanan changed the title Flask code 400, message Bad request syntax Cannot feed value of shape (1, 160, 224, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)' Jul 26, 2021
@urbansound8K
Copy link

any idea?
i got the same??

@sazal-ns
Copy link

I encountered the same issue and solved the issue.

in the yolo.py file, the size is fixed at line number 36.
self.model_image_size = (416, 416) # fixed size or (None, None)
Change the size according to your one.

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

3 participants