Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide keras.js visualization of network as a jupyter widget #10

Open
dattanchu opened this issue Oct 14, 2016 · 5 comments
Open

Provide keras.js visualization of network as a jupyter widget #10

dattanchu opened this issue Oct 14, 2016 · 5 comments

Comments

@dattanchu
Copy link

The visualization of the network is much better than the current Keras model.summary(). Can we make the visualization component into a widget that can be used to visualize Keras model within jupyter notebook?

@brunoalano
Copy link

I am free to do that if allowed

@yassineAlouini
Copy link

That would be awesome!

@transcranial
Copy link
Owner

@dattanchu @brunoalano Excellent idea. At this point, the layout process is still somewhat manual, but there's no reason it can't be made entirely automatic.

Initially I had tried using d3 but wasn't happy with the results I was getting. So I ended up just creating a custom architecture definition file, generated from the keras model config file, with arrays for the layers and the connections.

From this, layers are created programmatically: example. The connections are SVG paths calculated from those elements: example.

@brunoalano
Copy link

I think would be easier to write a D3 Plugin that loads from the Keras JSON Model export, and then integrate into this project.

@transcranial
Copy link
Owner

I agree. I'd be more than happy to support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants