2021-05-13 23:48:51 +00:00
|
|
|
---
|
|
|
|
title: TensorBoard Toy
|
|
|
|
---
|
|
|
|
|
|
|
|
The [tensorboard_toy.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/tensorflow/tensorboard_toy.py)
|
2022-01-30 10:54:40 +00:00
|
|
|
example demonstrates ClearML's automatic logging of TensorBoard scalars, histograms, images, and text, as well as
|
2021-05-13 23:48:51 +00:00
|
|
|
all other console output and TensorFlow Definitions.
|
|
|
|
|
2022-01-30 10:54:40 +00:00
|
|
|
When the script runs, it creates an experiment named `tensorboard toy example` in the `examples`
|
2021-05-13 23:48:51 +00:00
|
|
|
project.
|
|
|
|
|
|
|
|
## Scalars
|
|
|
|
|
2022-01-30 10:54:40 +00:00
|
|
|
The `tf.summary.scalar` output appears in the ClearML web UI, in the experiment's **RESULTS** **>**
|
2021-05-13 23:48:51 +00:00
|
|
|
**SCALARS**. Resource utilization plots, which are titled **:monitor: machine**, also appear in the **SCALARS** tab.
|
|
|
|
|
|
|
|
![image](../../../img/examples_tensorboard_toy_03.png)
|
|
|
|
|
|
|
|
## Plots
|
|
|
|
|
|
|
|
The `tf.summary.histogram` output appears in **RESULTS** **>** **PLOTS**.
|
|
|
|
|
|
|
|
![image](../../../img/examples_tensorboard_toy_04.png)
|
|
|
|
|
2021-09-09 10:17:46 +00:00
|
|
|
## Debug Samples
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2022-01-30 10:54:40 +00:00
|
|
|
ClearML automatically tracks images and text output to TensorFlow. They appear in **RESULTS** **>** **DEBUG SAMPLES**.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
![image](../../../img/examples_tensorboard_toy_05.png)
|
|
|
|
|
|
|
|
## Hyperparameters
|
|
|
|
|
2022-01-30 10:54:40 +00:00
|
|
|
ClearML automatically logs TensorFlow Definitions. They appear in **CONFIGURATIONS** **>** **HYPER PARAMETERS** **>**
|
2021-05-13 23:48:51 +00:00
|
|
|
**TF_DEFINE**.
|
|
|
|
|
|
|
|
![image](../../../img/examples_tensorboard_toy_01.png)
|
|
|
|
|
|
|
|
|