Is there a way to visualize Keras model?

I'm designing a neural network model and would like to plot the architecture. How to do that?

neural-networkskeras
1 votesNN132.00
2 Answers
JW229.00
0

There is also another option

from IPython.display import SVG
from keras.utils import model_to_dot

SVG(model_to_dot(model).create(prog='dot', format='svg'))
Reply
JW229.00
0

There are 2 ways to do that. 1 plots on the terminal, the second plots into the file. 

from keras.utils import plot_model
plot_model(model, to_file='model.png')
model.summary()
Reply
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?