clearml-docs/docs/guides/frameworks/autokeras/autokeras_imdb_example.md

42 lines
1.7 KiB
Markdown
Raw Normal View History

2021-05-13 23:48:51 +00:00
---
title: AutoKeras
2021-05-13 23:48:51 +00:00
---
The [autokeras_imdb_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/autokeras/autokeras_imdb_example.py) example
2022-01-13 07:42:36 +00:00
script demonstrates the integration of ClearML into code, which uses [autokeras](https://github.com/keras-team/autokeras).
The example does the following:
* Trains text classification networks on the Keras built-in [IMDB](https://keras.io/api/datasets/imdb/) dataset, using
the autokeras [TextClassifier](https://autokeras.com/text_classifier/) class, and searches for the best model.
* Uses two TensorBoard callbacks, one for training and one for testing.
* ClearML automatically logs everything the code sends to TensorBoard.
* Creates an experiment named `autokeras imdb example with scalars`, which is associated with the `autokeras` 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 **SCALARS**, along with the resource utilization plots,
2021-05-13 23:48:51 +00:00
which are titled **:monitor: machine**.
![image](../../../img/examples_keras_14.png)
## Hyperparameters
2023-01-12 10:49:55 +00:00
ClearML automatically logs TensorFlow Definitions. They appear in **CONFIGURATION** **>** **HYPERPARAMETERS** **>** **TF_DEFINE**.
2021-05-13 23:48:51 +00:00
![image](../../../img/examples_keras_16.png)
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
Text printed to the console for training progress, as well as all other console output, appear in **CONSOLE**.
2021-05-13 23:48:51 +00:00
![image](../../../img/examples_keras_15.png)
## Artifacts
2022-01-13 07:42:36 +00:00
Models created by the experiment appear in the experiments **ARTIFACTS** tab.
2021-05-13 23:48:51 +00:00
![image](../../../img/examples_keras_18.png)
2022-01-13 07:42:36 +00:00
Clicking on the model's name takes you to the [models page](../../../webapp/webapp_model_viewing.md), where you can view
the models details and access the model.
2021-05-13 23:48:51 +00:00
![image](../../../img/examples_keras_17.png)