Vertex AI 실험 설정

Vertex AI Experiments는 Agent Platform SDK for Python 및 Google Cloud 콘솔에서 지원됩니다. Vertex AI Experiments는 Vertex ML Metadata를 필요로 하며 이에 의존합니다.

설정

  1. 계정에 로그인합니다. Google Cloud 를 처음 사용하는 경우 Google Cloud, 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
  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. 서비스 계정을 만듭니다. 필요한 권한이 있는 서비스 계정 만들기를 참조하세요.
  9. Agent Platform SDK for Python을 설치합니다.
  10. 프로젝트에 default 메타데이터 저장소 가 있는지 확인합니다. (필수)
    • 프로젝트에 default 메타데이터 저장소가 있는지 확인하려면 Google Cloud 콘솔의 Metadata 페이지로 이동합니다.
    • default 메타데이터 저장소가 없으면 다음과 같은 경우에 생성됩니다.

지원되는 위치

특성 가용성 표에는 Vertex AI Experiments에 사용 가능한 위치가 나와 있습니다. Vertex AI Pipelines 또는 Vertex AI 텐서보드를 사용하는 경우 Agent Platform 실험과 같은 위치에 있어야 합니다.

다음 단계

관련 노트북 튜토리얼

  1. 학습 모델 및 평가 모델 비교
  2. 사전 빌드된 데이터 사전 처리 코드로 모델 학습
  3. 파이프라인 실행 비교
  4. 자동 로깅