Configura Vertex AI Experiments

Vertex AI Experiments es compatible con el SDK de Agent Platform para Python y Google Cloud la consola. Vertex AI Experiments requiere y depende de Vertex ML Metadata.

Configurar

  1. Accede a tu Google Cloud cuenta de. Si eres nuevo en Google Cloud, crea una cuenta para evaluar el rendimiento de nuestros productos en situaciones reales. Los clientes nuevos también obtienen $300 en créditos gratuitos para ejecutar, probar y, además, implementar cargas de trabajo.
  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 role (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 role (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. Crear una cuenta de servicio. Consulta Crea una cuenta de servicio con los permisos necesarios.
  9. Instala el SDK de Agent Platform para Python.
  10. Verifica la existencia del almacén de metadatos default en tu proyecto. (obligatorio)
    • Para ver si tu proyecto tiene el almacén de metadatos default, ve a la página Metadata en la Google Cloud consola.
    • Si el almacén de metadatos default no existe, se crea cuando

Ubicaciones admitidas

En la tabla Disponibilidad de las funciones, se enumeran las ubicaciones disponibles para Vertex AI Experiments. Cuando usas Vertex AI Pipelines o Vertex AI Tensorboard, deben estar en la misma ubicación que tu experimento de Agent Platform.

¿Qué sigue?

Instructivos de notebook relevantes

  1. Comparación de modelos entrenados y evaluados
  2. Entrenamiento de modelos con código precompilado de procesamiento previo de datos
  3. Compara ejecuciones de canalizaciones
  4. Registro automático