Configure o Vertex AI Experiments

O Vertex AI Experiments é suportado pelo SDK Vertex AI para Python e pela consolaGoogle Cloud . O Vertex AI Experiments requer e depende do Vertex ML Metadata.

Configurar

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. Enable the required API.

    Roles required to enable APIs

    To enable APIs, you need the Service Usage Admin IAM role (roles/serviceusage.serviceUsageAdmin), which contains the serviceusage.services.enable permission. Learn how to grant roles.

    Enable the API

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  6. Verify that billing is enabled for your Google Cloud project.

  7. Enable the required API.

    Roles required to enable APIs

    To enable APIs, you need the Service Usage Admin IAM role (roles/serviceusage.serviceUsageAdmin), which contains the serviceusage.services.enable permission. Learn how to grant roles.

    Enable the API

  8. Crie uma conta de serviço. Consulte o artigo Crie uma conta de serviço com as autorizações necessárias.
  9. Instale o SDK Vertex AI para Python.
  10. Verifique a existência da default Metadata Store no seu projeto. (obrigatório)
    • Para ver se o seu projeto tem o default Metadata Store, aceda à página Metadata na Google Cloud consola.
    • Se o default Metadata Store não existir, é criado quando
  11. Localizações suportadas

    A tabela Disponibilidade de funcionalidades apresenta as localizações disponíveis para as experiências do Vertex AI. Quando usar o Vertex AI Pipelines ou o Vertex AI TensorBoard, estes têm de estar na mesma localização que a sua experiência do Vertex AI.

    O que se segue?

    Tutoriais relevantes sobre o bloco de notas

    1. Compare modelos preparados e avaliados
    2. Preparação de modelos com código de pré-processamento de dados pré-criado
    3. Compare execuções de pipelines
    4. Registo automático