2021-05-13 23:48:51 +00:00
|
|
|
---
|
2023-07-31 16:40:04 +00:00
|
|
|
title: TensorFlow MNIST
|
2021-05-13 23:48:51 +00:00
|
|
|
---
|
|
|
|
|
2025-02-13 11:21:35 +00:00
|
|
|
The [tensorflow_mnist.py](https://github.com/clearml/clearml/blob/master/examples/frameworks/tensorflow/tensorflow_mnist.py)
|
2022-01-13 07:42:36 +00:00
|
|
|
example demonstrates the integration of ClearML into code that uses TensorFlow and Keras to train a neural network on
|
2021-05-13 23:48:51 +00:00
|
|
|
the Keras built-in [MNIST](https://www.tensorflow.org/api_docs/python/tf/keras/datasets/mnist) handwritten digits dataset.
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
When the script runs, it creates a task named `Tensorflow v2 mnist with summaries` in the `examples` project.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## Scalars
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
The loss and accuracy metric scalar plots appear in the task's page in the **ClearML web UI** under
|
2022-05-22 07:27:30 +00:00
|
|
|
**SCALARS**. Resource utilization plots, which are titled **:monitor: machine**, also appear in the **SCALARS** tab.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|

|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## 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**.
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|

|
2021-05-13 23:48:51 +00:00
|
|
|
|
2021-05-18 22:31:01 +00:00
|
|
|
## Console
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2022-05-22 07:27:30 +00:00
|
|
|
All console output appears in **CONSOLE**.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|

|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## Artifacts
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
Models created by the task appear in the task's **ARTIFACTS** tab. ClearML automatically logs and tracks
|
2022-01-13 07:42:36 +00:00
|
|
|
models and any snapshots created using TensorFlow.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|

|
2021-05-13 23:48:51 +00:00
|
|
|
|
2023-10-01 07:31:48 +00:00
|
|
|
Clicking on a model's name takes you to the [model's page](../../../webapp/webapp_model_viewing.md), where you can
|
|
|
|
view the model's details and access the model.
|
2022-01-13 07:42:36 +00:00
|
|
|
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|

|