Vertex AI TensorBoard hyperparameter tuning with the HParams dashboard: Notebook
Stay organized with collections
Save and categorize content based on your preferences.
In this notebook, you train a model and perform hyperparameter tuning using
TensorFlow. You also log the hyperparameters and metrics in
Vertex AI TensorBoard.
Notebook: Vertex AI TensorBoard hyperparameter tuning with the HParams dashboard
This tutorial uses the following Vertex AI services and resources:
Vertex AI TensorBoard
Vertex AI Experiments
The steps performed include:
Adapt TensorFlow runs to log hyperparameters and metrics.
Start runs and log them all under one parent directory.
Visualize the results in TensorBoard's HParams dashboard.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Vertex AI TensorBoard hyperparameter tuning with the HParams dashboard: Notebook\n\nIn this notebook, you train a model and perform hyperparameter tuning using\nTensorFlow. You also log the hyperparameters and metrics in\nVertex AI TensorBoard.\n\nNotebook: Vertex AI TensorBoard hyperparameter tuning with the HParams dashboard\n--------------------------------------------------------------------------------\n\n| To see an example of hyperparameter tuning using TensorFlow,\n| run the \"Vertex AI TensorBoard hyperparameter tuning with the HParams dashboard\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/tensorboard/tensorboard_hyperparameter_tuning_with_hparams.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Ftensorboard%2Ftensorboard_hyperparameter_tuning_with_hparams.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Ftensorboard%2Ftensorboard_hyperparameter_tuning_with_hparams.ipynb)\n|\n|\n| \\|\n|\n| [View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/tensorboard/tensorboard_hyperparameter_tuning_with_hparams.ipynb)\n\nThis tutorial uses the following Vertex AI services and resources:\n\n- Vertex AI TensorBoard\n- Vertex AI Experiments\n\nThe steps performed include:\n\n- Adapt TensorFlow runs to log hyperparameters and metrics.\n- Start runs and log them all under one parent directory.\n- Visualize the results in TensorBoard's HParams dashboard.\n\nRelevant content\n----------------\n\n- [Vertex AI TensorBoard](/vertex-ai/docs/experiments/tensorboard-introduction)"]]