clearml-docs/docs/guides/frameworks/tensorflow/tensorboard_toy.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

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-05-22 07:27:30 +00:00
The `tf.summary.scalar` output appears in the ClearML web UI, in the experiment's
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
2022-05-22 07:27:30 +00:00
The `tf.summary.histogram` output appears in **PLOTS**.
2021-05-13 23:48:51 +00:00
![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-05-22 07:27:30 +00:00
ClearML automatically tracks images and text output to TensorFlow. They appear in **DEBUG SAMPLES**.
2021-05-13 23:48:51 +00:00
![image](../../../img/examples_tensorboard_toy_05.png)
## Hyperparameters
2023-01-12 10:49:55 +00:00
ClearML automatically logs TensorFlow Definitions. They appear in **CONFIGURATION** **>** **HYPERPARAMETERS** **>**
2021-05-13 23:48:51 +00:00
**TF_DEFINE**.
![image](../../../img/examples_tensorboard_toy_01.png)