2021-05-13 23:48:51 +00:00
|
|
|
---
|
2023-08-10 08:55:09 +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.
|
2025-02-06 15:31:11 +00:00
|
|
|
* Creates a task named `autokeras imdb example with scalars` in 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**.
|
|
|
|
|
|
|
|

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

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

|
|
|
|
|
|
|
|
## Artifacts
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
Models created by the task appear in the task's **ARTIFACTS** tab.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
2023-10-01 07:31:48 +00:00
|
|
|
Clicking on the 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.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|

|