Configuration pour Vertex AI Experiments

Vertex AI Experiments est compatible avec le SDK Vertex AI pour Python et la consoleGoogle Cloud . Vertex AI Experiments nécessite et dépend de Vertex ML Metadata.

Configurer

  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. Créer un compte de service Consultez la section Créer un compte de service avec les autorisations requises.
  9. Installez le SDK Vertex AI pour Python.
  10. Vérifiez l'existence du magasin de métadonnées default dans votre projet. (obligatoire)
    • Pour savoir si votre projet dispose du magasin de métadonnées default, accédez à la page Metadata dans la console Google Cloud .
    • Si le magasin de métadonnées default n'existe pas, il est créé :
  11. Emplacements acceptés

    Le tableau Fonctionnalités disponibles répertorie les emplacements disponibles pour Vertex AI Experiments. Lorsque vous utilisez Vertex AI Pipelines ou Vertex AI TensorBoard, ceux-ci doivent se trouver au même emplacement que votre test Vertex AI.

    Étapes suivantes

    Tutoriels pertinents sur les notebooks

    1. Comparer un modèle entraîné et un modèle évalué
    2. Entraînement du modèle avec le code de prétraitement des données prédéfini
    3. Comparer les exécutions de pipeline
    4. Journalisation automatique