Vertex AI Experiments 支援 Python 適用的 Vertex AI SDK 和Google Cloud 控制台。Vertex AI Experiments 需要並依賴 Vertex 機器學習中繼資料。
設定
- 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.
 - 
    
    
      
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 theresourcemanager.projects.createpermission. Learn how to grant roles. 
 - 
  
    
Verify that billing is enabled for your Google Cloud project.
 - 
  
  
    
      
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 theserviceusage.services.enablepermission. Learn how to grant roles. - 
    
    
      
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 theresourcemanager.projects.createpermission. Learn how to grant roles. 
 - 
  
    
Verify that billing is enabled for your Google Cloud project.
 - 
  
  
    
      
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 theserviceusage.services.enablepermission. Learn how to grant roles. - 建立服務帳戶。請參閱「建立具備必要權限的服務帳戶」。
 - 安裝 Vertex AI SDK for Python。
 - 檢查專案中是否有 
default中繼資料儲存庫。(必要)- 如要查看專案是否具有 
default中繼資料存放區,請前往 Google Cloud 控制台的Metadata頁面。 - 如果 
default中繼資料儲存庫不存在,系統會在您- 執行第一個 PipelineJob,
 - 或者,在 Python 適用的 Vertex AI SDK 中建立第一個實驗。
選用:如要使用 CMEK 進行設定,請參閱「設定專案的中繼資料儲存庫」。 
 
 - 如要查看專案是否具有 
 
支援的地區
「功能適用情形」表格列出 Vertex AI Experiments 的適用地區。使用 Vertex AI Pipelines 或 Vertex AI TensorBoard 時,這些服務必須與 Vertex AI 實驗位於相同位置。