rstudio / keras3

R Interface to Keras
https://keras3.posit.co/
Other
833 stars 282 forks source link

Visualization of model architecture #325

Open kevinykuo opened 6 years ago

kevinykuo commented 6 years ago

Something like https://keras.io/visualization/ or https://greta-dev.github.io/greta/get_started.html#plotting

Saves manual draw.io work in papers and presentations.

jjallaire commented 6 years ago

+1, this is on our short list of things to do to improve the R interface!

kevinykuo commented 6 years ago

@skeydan has this been implemented?

skeydan commented 6 years ago

not to my knowledge; - @jjallaire could you comment on this?

kevinykuo commented 6 years ago

Reopening but please close if it's tracked elsewhere.

jjallaire commented 6 years ago

No, it hasn't yet been implemented (we were bulk closing old/inactive issues). We'll leave it open.

andrie commented 6 years ago

I'm playing with some ideas at https://github.com/andrie/deepviz. I didn't set out to make a replacement for plot_graph() but my ideas could be extended in that direction.

image

andrie commented 5 years ago

The plot_model() function now supports sequential as well as networked models. See the examples in the documentation at https://andrie.github.io/deepviz/index.html

skeydan commented 5 years ago

@andrie @kevinykuo should we consider this implemented/solved and close this issue?

andrie commented 5 years ago

I don't think so. There are open issues on the deepviz package, and that work hasn't been incorporated into keras, or pulled into this project.

andrie commented 5 years ago

Today I fixed the bugs in deepviz (that I could reproduce). These were due mainly to a change in the internal representation of a network model, and how I extracted the layer information from get_config().

I pushed a new version to https://github.com/andrie/deepviz

Let me know if you discover any new issues.

richelbilderbeek commented 2 years ago

I think https://github.com/lordmahyar/keras-visualizer seems an excellent Python to create R bindings to, as deepviz is not yet up to speed.