Vertex AI TensorBoard-Hyperparameter-Abstimmung mit dem HParams-Dashboard: Notebook
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Notebook trainieren Sie ein Modell und führen mit TensorFlow eine Hyperparameter-Abstimmung durch. Sie protokollieren die Hyperparameter und Messwerte auch in Vertex AI TensorBoard.
Notebook: Vertex AI TensorBoard-Hyperparameter-Abstimmung mit dem HParams-Dashboard.
In dieser Anleitung werden die folgenden Vertex AI-Dienste und -Ressourcen verwendet:
Vertex AI TensorBoard
Vertex AI Experiments
Die durchgeführten Schritte umfassen Folgendes:
Passen Sie TensorFlow-Ausführungen für das Logging von Hyperparametern und Messwerten an.
Starten Sie Ausführungen und protokollieren Sie alle in einem übergeordneten Verzeichnis.
Visualisieren Sie die Ergebnisse im HParams-Dashboard von TensorBoard.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (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)"]]