ANN Visualizer: Layer not supported for visualizing
I've tried tons of code to run this visualizer. I determined that this tool works only for 'Sequental' models. You should write this into info.
Details
- Not working if layer sequence start with an 'input' tensor.
inp = Input((3,))
L1 = Dense(6)(inp)
THROWN► ^ ANN Visualizer: Layer not supported for visualizing
Hope you will improve this tool. Because this is beautiful and can't find any other tool to draw as neuron by neuron.
I got the same error, and I checked there's not much of an issue with the code. Keras actually removed it's support for all other backends. See here
To use this package you can either downgrade your Keras and Tensorflow installation or change the imports of Keras layers in the code.
@tudorog seems to be inactive. Until then, if you want to visualize ANN with models created via tensorflow.keras install my modification of the code. This works for me.
After removing existing ann_visualizer installation, run the following:
pip install git+https://github.com/kushaangupta/ann-visualizer.git@feature/tensorflow-2-support