Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

InferShape cannot decide shapes when adding a Dropout layers #235

@gregoirerllr

Description

@gregoirerllr

Framework version:
keras-mxnet==2.2.4.1
mxnet-cu90mkl==1.4.0

I am creating a functional model with Keras. Each time I try to add a Dropout layer, I get the following error:
RuntimeError: simple_bind error. Arguments: [14:28:22] src/executor/../common/exec_utils.h:392: InferShape pass cannot decide shapes for the following arguments (0s means unknown dimensions). Please consider providing them as inputs: /input_511: [0,299,299,3],

I tried to force the input_shape of the Dropout layers, but it still fails.

The model compiles when all Dropout layers are removed.

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