Ajuste de hiperparâmetros do TensorBoard da Vertex AI com o painel HParams: notebook
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Neste notebook, você vai treinar um modelo e realizar o ajuste de hiperparâmetros usando o TensorFlow. Você também registra os hiperparâmetros e as métricas no
TensorBoard da Vertex AI.
Notebook: ajuste de hiperparâmetros do Tensorboard da Vertex AI com o painel HParams
Neste tutorial, usamos os seguintes serviços e recursos da Vertex AI:
Tensorboard da Vertex AI
Experimentos da Vertex AI
As etapas a serem realizadas incluem:
O TensorFlow é executado para registrar hiperparâmetros e métricas.
Inicie as execuções e registre todas elas em um diretório pai.
Visualizar os resultados no painel HParams do TensorBoard.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-09-13 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)"]]