-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stanislav Ponkrashov
committed
Feb 10, 2023
1 parent
f619535
commit cf31e94
Showing
10 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Visual Tensor View | ||
|
||
## Table of Contents | ||
- [About](#about) | ||
- [How to use](#how-to-use) | ||
|
||
## About | ||
|
||
Visual Tensor View is a tool that alows to visualize tensor data as a 2D-heatmap. | ||
|
||
<img src="./VisualTensorView.jpg"/> | ||
|
||
## How to use | ||
|
||
Currently Visual Tensor View is integrated into property sidebar of Circle Graph View. | ||
The visualizer is shown for all node properties that are tensors of 2 or more dimentions: | ||
|
||
<img src="./VisualTensorViewExample.jpg"/> | ||
|
||
In order to visualize tensor data: | ||
- we need a *.circle model that contains at least one node with tensor properties with 2 or more dimentions like 'weights', 'filter', etc. | ||
- open a folder that contains such model. | ||
- click on the model file in Explorer. | ||
- click on such node (Conv2D, for example). | ||
<img src="./VisualTensorViewNode.jpg"/> | ||
|
||
- in 'NODE PROPERTIES' sidebar find 'INPUTS' containing the tensor property ('filter' in case of Conv2D). | ||
- expand it with '+' button. | ||
<img src="./VisualTensorViewExpand.jpg"/> | ||
|
||
- the visualizer should appear. | ||
<img src="./VisualTensorViewExpanded.jpg"/> | ||
|
||
- you can modify the heatmap scale or swap 'x' and 'y' using respective UI elements. | ||
<img src="./VisualTensorViewScale.jpg"/> | ||
|
||
- the heatmap colors correspond to respective tensor values, the higher wavelength, the higher value: | ||
* 'blue' - the lowest value in the current heatmap | ||
* 'green' - the value is about (min + max) / 2 | ||
* 'red' - the highest value in the current heatmap | ||
|
||
- hover the mouse over the heatmap pixel to see the actual value in the tooltip. | ||
<img src="./VisualTensorViewHeatmap.jpg"/> | ||
|
||
- if the tensor is 2D all tensor data is shown as a 2D-heatmap at once. | ||
|
||
- if the tensor is 3D, 4D...: | ||
* exactly two axes should be selected with the checkboxes, the selected axes correspond to 'x' and 'y' of the heatmap. | ||
<img src="./VisualTensorViewAxes.jpg"/> | ||
|
||
* for all other axes fixed values should be set. | ||
<img src="./VisualTensorViewValues.jpg"/> | ||
|
||
* in this example the heatmap point (x, y) corresponds to tensor[5][y][2][x]. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.