清除您建立的 Google Cloud 資源,以便訓練圖片分類模型並取得預測結果。請按照下列步驟操作,避免產生部分資源的額外費用。
本教學課程包含多個頁面:
每個頁面都假設您已執行教學課程先前頁面中的操作說明。
刪除 Vertex AI 資源
本節說明如何取消部署模型,然後刪除下列專案資源:端點、模型、資料集和 Cloud Storage 值區。
取消部署模型
您必須先取消部署模型,才能刪除模型和端點。
在 Google Cloud 控制台的「Vertex AI」專區中,前往「Training」頁面。
選取已訓練完成的 AutoML 模型。系統會將你導向「評估」分頁。
按一下「Deploy & test」分頁標籤。
找出你的型號。在模型的資料列上,按一下三個垂直圓點
,然後點選「Undeploy model」(取消部署模型)。在「取消部署模型」中,按一下「確認」。
刪除端點
在 Google Cloud 控制台的 Vertex AI 專區中,前往「Endpoints」頁面。
找出端點
hello_automl_image
。在該列上,按一下三個垂直點 ,然後點選「移除端點」。在「移除端點」中,按一下「確認」。
刪除模型
在 Google Cloud 控制台的 Vertex AI 專區中,前往「Models」頁面。
找出你的型號。在該列中,按一下三個垂直圓點
,然後點選「Delete model」。在「Delete model and all of its associated versions」中,按一下「Delete」。
刪除資料集
在 Google Cloud 控制台的 Vertex AI 專區中,前往「Datasets」頁面。
尋找資料集。在該資料列上,按一下三個垂直圓點
,然後點選「Delete dataset」。在「Delete dataset」中,按一下「Delete」。
清理 Cloud Shell 工作階段
Cloud Shell 不會產生任何費用,且會在閒置一段時間後自動刪除您的主機碟。
刪除 Cloud Storage 值區
- In the Google Cloud console, go to the Cloud Storage Buckets page.
- Click the checkbox for the bucket that you want to delete.
- To delete the bucket, click Delete, and then follow the instructions.
後續步驟
如要瞭解在 Vertex AI 訓練機器學習模型的其他方式,請試試其他 Vertex AI 教學課程。