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

Add params visualization to gradients visualization #436

Merged
merged 12 commits into from Apr 26, 2017

Conversation

Projects
None yet
2 participants
@DonaldAlan
Contributor

DonaldAlan commented Apr 16, 2017

What changes were proposed in this pull request?

I renamed the GradientsListener to GradientsAndParamsListener, because it now shows the biases and weights, as well as the gradients. It uses the radius of the spheres to indicate the bias or weight. Negative values result in a small radius. Positive values result in a large radius. Also, I added Pause/Continue and Step buttons and the ability to drill down on a node to see its changes in detail.

How was this patch tested?

I manually tested the UI, as well as the other examples using the (old) GradientsListener.

Please review
https://github.com/deeplearning4j/deeplearning4j/blob/master/CONTRIBUTING.md before opening a pull request.

@DonaldAlan

This comment has been minimized.

Show comment
Hide comment
@DonaldAlan

DonaldAlan Apr 16, 2017

Contributor

I added a feature: if you click on a sphere, it will show (in real time) the gradient and the weight or bias in a text box.

Contributor

DonaldAlan commented Apr 16, 2017

I added a feature: if you click on a sphere, it will show (in real time) the gradient and the weight or bias in a text box.

@DonaldAlan

This comment has been minimized.

Show comment
Hide comment
@DonaldAlan

DonaldAlan Apr 16, 2017

Contributor

Wait a bit. I'll add a pause button.

Contributor

DonaldAlan commented Apr 16, 2017

Wait a bit. I'll add a pause button.

@DonaldAlan

This comment has been minimized.

Show comment
Hide comment
@DonaldAlan

DonaldAlan Apr 16, 2017

Contributor

OK, I added buttons to pause, step, and continue learning, so that you can examine gradients and params at your lesiure.

Contributor

DonaldAlan commented Apr 16, 2017

OK, I added buttons to pause, step, and continue learning, so that you can examine gradients and params at your lesiure.

@DonaldAlan

This comment has been minimized.

Show comment
Hide comment
@DonaldAlan

DonaldAlan Apr 17, 2017

Contributor

It's ready to merge, in my opinion. Let me know if you have suggestions for additional features; perhaps it can be massaged into a real interactive tool and not just an example app.

Contributor

DonaldAlan commented Apr 17, 2017

It's ready to merge, in my opinion. Let me know if you have suggestions for additional features; perhaps it can be massaged into a real interactive tool and not just an example app.

@agibsonccc agibsonccc merged commit 1032539 into deeplearning4j:master Apr 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment