You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot feed value of shape (1, 160, 224, 3) for Tensor 'input_1:0', which has shape '(?, 608, 608, 3)' #39
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)'
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)'[/+]on Jul 26, 2021
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.
Activity
[-]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)'[/+]Yousef-Alhattab commentedon Oct 20, 2021
any idea?
i got the same??
noor-siddiqui commentedon Jul 24, 2022
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.