Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.
This repository was archived by the owner on Oct 18, 2020. It is now read-only.

keras.layers.Input layer not supported #34

Description

@windisch

The following code

from keras.layers import (
    Input,
    Dense,
)
from keras.models import Model

from ann_visualizer.visualize import ann_viz

layer_in = Input(shape=(10, ))
layer_out = Dense(2, activation="linear")(layer_in)

model = Model(inputs=layer_in, outputs=layer_out)

ann_viz(model)

will raise the following exception:

ValueError: ANN Visualizer: Layer not supported for visualizing

in ann_visualizer/visualize.py, line 123 under python3.6. Packages used

  • ann-visualizer==2.5
  • Keras==2.3.1

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions