Tensorboard plugin - Beholder: Request features
See original GitHub issueRequest features
- Show only specific variables, not all trainables: filter by code and by UI
- Add option to do not resize the views (or add option to resize proportionally)
- For better visualization, add add post training operations with a variable (reshape, reverse and other transformations). To get a similar result, I have to create a new variable, do a series of operations and update the new variable in each iteration of the learning process (when I update the original variable, I update the new variable)
Example of use
In RBM (and similars), is possible show the Weight values:
http://www.dmi.usherb.ca/~larocheh/publications/icml-2008-discriminative-rbm.pdf
Current result in Beholder:
Image: Above: Weight (visible = 28*28. hidden = 10). Below: self.W_inspect.assign(tf.reverse(tf.transpose(tf.reshape(self.W, [28*10, 28])), [0]))
(Obs: The vector in my implementation of the RBM is a column vector. This is why the matrix is [10, 28 ** 2] and not the opposite)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Debugging TensorFlow with TensorBoard plugins ... - YouTube
Watch this demo of the TensorFlow Debugger, an interactive web GUI for controlling the execution of TensorFlow models, setting breakpoints, ...
Read more >How to implement Beholder (Tensorboard plugin) for Keras?
Prepare callback sess = K.get_session() beholder_callback = BeholderCallback(your_tensor, sess=sess) # Fit data into model and pass callback ...
Read more >tensorboard Changelog - PyUp.io
The 2.10 minor series tracks TensorFlow 2.10. Features - Time Series is now the default dashboard when you log scalar, histogram, or image...
Read more >TensorBoard - TensorFlow
TensorBoard : TensorFlow's visualization toolkit · Tracking and visualizing metrics such as loss and accuracy · Visualizing the model graph (ops and layers) ......
Read more >Analysis Report tensorboard-2.1.1-py3-none-any.whl
A module providing a function for serializing JSON values with Infinity. ... tensorflow as tf..from tensorboard.plugins.beholder import im_util.from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this issue since we are intending to deprecate the Beholder plugin as described in #3843. Please see that issue for recommendations if you want to keep using the plugin or adopt it yourself.
I have a W variable with shape
[1 x n]
. It containsm
images with the same size [width, height]: Then,n = m * width * height
.I would like to visualize in a
a x b
array of images.Example:
m = 4
imageswidth = 4
height = 4
a x b
=4 x 4
W = [w_{1,1} w_{1,2} w_{1,3} w_{1,4} w_{2,1} w_{2,2} w_{2,3} w_{2,4} w_{3,1} w_{3,2} w_{3,3} w_{3,4} w_{4,1} w_{4,2} w_{4,3} w_{4,4}]
.w_{i, j}
:i
-th image.j
-th of the pixel of the imageThe W transformation result:
My implementation: https://github.com/SrMouraSilva/RBM/blob/tensorflow/rbm/train/task/beholder_task.py#L26-L55 method:
register(W, image_shape=[width, height], columns=b):
. Observe that the number of lines (a
) isn’t informed, because it is calculated based on the amount of lines needed to display all images given the amount of columns.This would solve the problem. However, interesting beholder features (such as colormap, variance over train steps) would not be available.
(Still) I do not have knowledge as visualization in other learning algorithms, however, in RBM (and I believe in some Deep Belief Networks algorithms) is useful.
Checkbox to hide and show specific variables also sounds great. Also, when change the tab (‘beholder’ to ‘scalar’) the last configuration realized in beholder tab could not be lost.