ann-visualizer icon indicating copy to clipboard operation
ann-visualizer copied to clipboard

Can not able to plot Keras Model API

Open krprashant94 opened this issue 6 years ago • 2 comments

Keras Model API not supported with ValueError: ANN Visualizer: Layer not supported for visualizing I think this arises due to Input layer my code is

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

a = Input(shape=(32,))
b = Dense(32)(a)
model = Model(inputs=a, outputs=b)
model.summary()

ann_viz(model, title="My first neural network")

krprashant94 avatar Aug 13 '19 10:08 krprashant94

I'm getting the same error message. I'm using an InputLayer.

renatobellotti avatar Aug 27 '19 11:08 renatobellotti

I am running into this problem as well. Maybe this is due to the update to Tensorflow 2.0?

VincentSch4rf avatar Nov 18 '19 11:11 VincentSch4rf