Skip to content

'BatchNormalization' object has no attribute 'get_input_at' #34

Description

@DenSandu

Hi, I cloned the repo using git clone [git@github.com](mailto:git@github.com):PlasmaControl/keras2c.git --branch v1.0.2 but

  1. I got this error raise
NotImplementedError(
        "numpy() is only available when eager execution is enabled.")

which I solved by changing the keras2c_main.py to enable

tf.compat.v1.enable_eager_execution()
  1. I got another error which says:
  File ".../keras2c/keras2c/io_parsing.py", line 59, in get_layer_num_io
    layer.get_input_at(num_inputs)
    ^^^^^^^^^^^^^^^^^^
AttributeError: 'BatchNormalization' object has no attribute 'get_input_at'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions