Stay organized with collections Save and categorize content based on your preferences.
If you plan to use the Vertex AI SDK for Python, make sure that the service account initializing the client has the Vertex AI Service Agent (roles/aiplatform.serviceAgent
) IAM role.
You'll set up your Google Cloud project to use Vertex AI. Then create a Cloud Storage bucket and copy image files to use for training an AutoML image classification model.
This tutorial has several pages:
Set up your project and environment.
Each page assumes that you have already performed the instructions from the previous pages of the tutorial.
Before you beginComplete the following steps before using Vertex AI functionality.
In the Google Cloud console, go to the project selector page.
Select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.Verify that billing is enabled for your Google Cloud project.
projectid
shell variable:
gcloud config set project PROJECT_ID && projectid=PROJECT_ID && echo $projectidReplace PROJECT_ID with your project ID. You can locate your project ID in the Google Cloud console. For more information, see Find your project ID.
Enable the IAM, Compute Engine, Notebooks, Cloud Storage, and Vertex AI APIs.
Make sure that you have the following role or roles on the project: roles/aiplatform.user, roles/storage.admin
Check for the rolesIn the Google Cloud console, go to the IAM page.
Go to IAMIn the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
In the Google Cloud console, go to the IAM page.
Go to IAMIn the New principals field, enter your user identifier. This is typically the email address for a Google Account.
roles/aiplatform.user
) IAM role provides access to use all resources in Vertex AI. The Storage Admin (roles/storage.admin
) role you store the document's training dataset in Cloud Storage.
Follow the next page of this tutorial to use the Google Cloud console to create an image classification dataset and import images hosted in a public Cloud Storage bucket.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4