You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to be able to show sequential networks in a clean and minimalistic way for didactic purpose. Both model.summary() and graph export were not enough - I wanted dimensions, numbers of parameters and activation functions in one place, at the same time without unnecessary overhead.
Bear in mind that I purposefully make no distinction between adding activation function as a keyword argument or as a separate layer (vide Activations - Keras documentation), unlike in model.summary() or SVG(model_to_dot(model, show_shapes=True).create(prog='dot', format='svg')).
I wanted to be able to show sequential networks in a clean and minimalistic way for didactic purpose. Both
model.summary()
and graph export were not enough - I wanted dimensions, numbers of parameters and activation functions in one place, at the same time without unnecessary overhead.Bear in mind that I purposefully make no distinction between adding activation function as a keyword argument or as a separate layer (vide Activations - Keras documentation), unlike in
model.summary()
orSVG(model_to_dot(model, show_shapes=True).create(prog='dot', format='svg'))
.Code: https://gist.github.com/stared/8411d4e7e457b0f14f39d700afc8511c
Should I clean and generalise it, so that it can be a part of
keras/utils
?Any comments, remarks and (sub)feature requests ale welcomed! :)
Examples
Proof of principle
VGG16
The text was updated successfully, but these errors were encountered: