Update Keras with Matplotlib

This commit is contained in:
revital 2025-03-09 13:11:24 +02:00
parent 1cb01bd344
commit be1b64dcea
19 changed files with 18 additions and 9 deletions

View File

@ -18,22 +18,26 @@ The example does the following:
The loss and accuracy metric scalar plots appear in **SCALARS**, along with the resource utilization plots, which are titled **:monitor: machine**.
![image](../../../img/examples_keras_jupyter_08.png)
![Scalars](../../../img/examples_keras_jupyter_08.png#light-mode-only)
![Scalars](../../../img/examples_keras_jupyter_08_dark.png#dark-mode-only)
## Plots
The example calls Matplotlib methods to create several sample plots, and TensorBoard methods to plot histograms for layer density.
They appear in **PLOTS**.
![image](../../../img/examples_keras_jupyter_03.png)
![Plots 1](../../../img/examples_keras_jupyter_03.png#light-mode-only)
![Plots 1](../../../img/examples_keras_jupyter_03_dark.png#dark-mode-only)
![image](../../../img/examples_keras_jupyter_03a.png)
![Plots 2](../../../img/examples_keras_jupyter_03a.png#light-mode-only)
![Plots 2](../../../img/examples_keras_jupyter_03a_dark.png#dark-mode-only)
## Debug Samples
The example calls Matplotlib methods to log debug sample images. They appear in **DEBUG SAMPLES**.
![image](../../../img/examples_keras_jupyter_04.png)
![Debug Samples](../../../img/examples_keras_jupyter_04.png#light-mode-only)
![Debug Samples](../../../img/examples_keras_jupyter_04_dark.png#dark-mode-only)
## Hyperparameters
@ -55,17 +59,20 @@ task_params['hidden_dim'] = 512
Parameter dictionaries appear in **CONFIGURATION** **>** **HYPERPARAMETERS** **>** **General**.
![image](../../../img/examples_keras_jupyter_20.png)
![General Hyperparameters](../../../img/examples_keras_jupyter_20.png#light-mode-only)
![General Hyperparameters](../../../img/examples_keras_jupyter_20_dark.png#dark-mode-only)
The TensorFlow Definitions appear in the **TF_DEFINE** subsection.
![image](../../../img/examples_keras_jupyter_21.png)
![TF Define](../../../img/examples_keras_jupyter_21.png#light-mode-only)
![TF Define](../../../img/examples_keras_jupyter_21_dark.png#dark-mode-only)
## Console
Text printed to the console for training appears in **CONSOLE**.
![image](../../../img/examples_keras_jupyter_07.png)
![Console Log](../../../img/examples_keras_jupyter_07.png#light-mode-only)
![Console Log](../../../img/examples_keras_jupyter_07_dark.png#dark-mode-only)
## Artifacts
@ -74,9 +81,11 @@ created using Keras.
The task info panel shows model tracking, including the model name and design in **ARTIFACTS** **>** **Output Model**.
![image](../../../img/examples_keras_jupyter_23.png)
![Artifacts](../../../img/examples_keras_jupyter_23.png#light-mode-only)
![Artifacts](../../../img/examples_keras_jupyter_23_dark.png#dark-mode-only)
Clicking on the model 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.
![image](../../../img/examples_keras_jupyter_24.png)
![Model details](../../../img/examples_keras_jupyter_24.png#light-mode-only)
![Model details](../../../img/examples_keras_jupyter_24_dark.png#dark-mode-only)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB