Skip to content

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

Open

Description

@KobanBanan

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?

Activity

  1. 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
  2. Yousef-Alhattab commented on Oct 20, 2021

    @Yousef-Alhattab

    any idea?
    i got the same??

  3. noor-siddiqui commented on Jul 24, 2022

    @noor-siddiqui

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions