Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Nettoyez les ressources Google Cloud que vous avez créées pour entraîner votre modèle de classification d'images et obtenir des prédictions. Procédez comme suit pour éviter des frais inattendus engendrés par certaines ressources.
Chaque page suppose que vous avez déjà effectué les instructions des pages précédentes du tutoriel.
Supprimer les ressources Vertex AI
Cette section explique comment annuler le déploiement de votre modèle, puis supprimer les ressources de projet suivantes : point de terminaison, modèle, ensemble de données et bucket Cloud Storage.
Annuler le déploiement du modèle
Avant de pouvoir supprimer votre modèle et votre point de terminaison, vous devez annuler son déploiement.
Dans la section Vertex AI de la console Google Cloud , accédez à la page Entraînement.
Recherchez votre point de terminaison, hello_automl_image. Sur cette ligne, cliquez sur les trois points verticaux more_vert, puis sur Supprimer le point de terminaison.
Dans Supprimer le point de terminaison, cliquez sur Confirmer.
Supprimer votre modèle
Dans la section Vertex AI de la console Google Cloud , accédez à la page Modèles.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Hello image data: Clean up your project\n\nClean up the Google Cloud resources that you created to train your image\nclassification model and get predictions from it. Follow these steps to avoid\nincurring unexpected charges from some of the resources.\n\nThis tutorial has several pages:\n\n1. [Set up your project and environment.](/vertex-ai/docs/tutorials/image-classification-automl)\n\n2. [Create an image classification dataset, and\n import images.](/vertex-ai/docs/tutorials/image-classification-automl/dataset)\n\n3. [Train an AutoML image classification\n model.](/vertex-ai/docs/tutorials/image-classification-automl/training)\n\n4. [Evaluate and analyze model performance.](/vertex-ai/docs/tutorials/image-classification-automl/error-analysis)\n\n5. [Deploy a model to an endpoint, and send a\n prediction.](/vertex-ai/docs/tutorials/image-classification-automl/deploy-predict)\n\n6. Clean up your project.\n\nEach page assumes that you have already performed the instructions from the\nprevious pages of the tutorial.\n\nDelete Vertex AI resources\n--------------------------\n\nThis section describes how to undeploy your model, and then delete the following\nproject resources: endpoint, model, dataset, and Cloud Storage bucket.\n\n### Undeploy your model\n\nBefore you can delete your model and endpoint, you must undeploy the model.\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Training** page.\n\n [Go to the Training page](https://console.cloud.google.com/vertex-ai/training)\n2. Select your trained AutoML model. This takes you to the **Evaluate** tab.\n\n3. Click the **Deploy \\& test** tab.\n\n4. Find your model. On your model's row, click the three vertical dots more_vert, then click\n **Undeploy model**.\n\n5. In **Undeploy model** , click **Confirm**.\n\n### Delete your endpoint\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Endpoints** page.\n\n [Go to the Endpoints page](https://console.cloud.google.com/vertex-ai/endpoints)\n2. Find your endpoint, `hello_automl_image`. On that row, click the three\n vertical dots more_vert,\n then click **Remove endpoint**.\n\n3. In **Remove endpoint** , click **Confirm**.\n\n### Delete your model\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Models** page.\n\n [Go to the Models page](https://console.cloud.google.com/vertex-ai/models)\n2. Find your model. On that row, click the three vertical dots more_vert, then click **Delete\n model**.\n\n3. In **Delete model and all of its associated versions** , click **Delete**.\n\n### Delete your dataset\n\n1. In the Google Cloud console, in the Vertex AI section, go to\n the **Datasets** page.\n\n [Go to the Datasets page](https://console.cloud.google.com/vertex-ai/datasets)\n2. Find your dataset. On that row, click the three vertical dots more_vert, then click **Delete\n dataset**.\n\n3. In **Delete dataset** , click **Delete**.\n\nClean up your Cloud Shell session\n---------------------------------\n\nCloud Shell incurs no charges, and it [automatically deletes your home\ndisk after a period of inactivity](/shell/docs/limitations).\n\nDelete your Cloud Storage bucket\n--------------------------------\n\n1. In the Google Cloud console, go to the Cloud Storage **Buckets** page.\n\n [Go to Buckets](https://console.cloud.google.com/storage/browser)\n2. Click the checkbox for the bucket that you want to delete.\n3. To delete the bucket, click delete **Delete**, and then follow the instructions.\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- To learn about additional ways to train ML models on Vertex AI,\n try one of the other [Vertex AI tutorials](/vertex-ai/docs/tutorials).\n\n- Read an [overview of how Vertex AI\n works](/vertex-ai/docs/start/introduction-unified-platform)."]]