Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Fully convolutional network - cannot reuse inference session with different input shape #301

Description

I have a fully convolutional network with variable input shape, namely (None, None, None, 3)
After the first inference (with the shape [1,116,32,3]), when I try to provide input with different shape I got a shape validation error:
Uncaught (in promise) Error: input tensor[1] check failed: expected shape '[1,116,32,3]' but got [1,205,40,3]

This error doesn't appear if all the consequent requests have the same input shape.

The workaround for now is to reload the model.

Activity

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