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
|
|
|
---
|
|
|
|
|
|
|
|
The [tensorflow_mnist.py](https://github.com/allegroai/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.
|
|
|
|
|
2022-01-30 10:54:40 +00:00
|
|
|
When the script runs, it creates an experiment named `Tensorflow v2 mnist with summaries` in the `examples` project.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## Scalars
|
|
|
|
|
2022-05-22 07:27:30 +00:00
|
|
|
The loss and accuracy metric scalar plots appear in the experiment's page in the **ClearML web UI** under
|
|
|
|
**SCALARS**. Resource utilization plots, which are titled **:monitor: machine**, also appear in the **SCALARS** tab.
|
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**.
|
|
|
|
|
|
|
|

|
|
|
|
|
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
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Artifacts
|
|
|
|
|
2023-10-01 07:31:48 +00:00
|
|
|
Models created by the experiment appear in the experiment'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
|
|
|
|
|
|
|

|
|
|
|
|
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
|
|
|
|
|
|
|

|