公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
Cloud AI 平台遷移指南
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Cloud AI Platform 已淘汰,且將於 2025 年 1 月 31 日停用。
最簡單的遷移方式,就是按照 Vertex AI 的Cloud 控制台遷移頁面操作。
否則,您可以按照下列步驟手動遷移。
手動遷移
- 將 Cloud AI Platform 模型重新上傳至 Vertex AI。選擇要使用的容器映像檔時,請務必確認上傳的模型使用相同的 ML 程式庫,否則模型可能無法在後續步驟中成功部署。
- 為代管模型建立新的 Vertex AI 端點。
- 將上傳的模型部署至新的 Vertex AI 端點。
- 使用 Earth Engine 更新所有程式碼中從
ee.Model.fromAiPlatformPredictor
到 ee.Model.fromVertexAi
的任何參照,並在 endpoint
欄位中使用您在步驟 2 中建立的新端點名稱。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-08 (世界標準時間)。
[null,null,["上次更新時間:2025-01-08 (世界標準時間)。"],[[["\u003cp\u003eCloud AI Platform will be discontinued on January 31, 2025.\u003c/p\u003e\n"],["\u003cp\u003eMigration to Vertex AI is recommended and can be done through the migration page in the Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eManual migration involves re-uploading your model to Vertex AI, creating a new endpoint, and deploying the model.\u003c/p\u003e\n"],["\u003cp\u003eUpdate all references in your code from \u003ccode\u003eee.Model.fromAiPlatformPredictor\u003c/code\u003e to \u003ccode\u003eee.Model.fromVertexAi\u003c/code\u003e, using the new endpoint name.\u003c/p\u003e\n"],["\u003cp\u003eConsider using a gRPC prediction format when re-deploying your model to Vertex AI.\u003c/p\u003e\n"]]],[],null,["# Cloud AI Platform Migration Guide\n\nCloud AI Platform is deprecated and access will be discontinued January 31 2025.\nThe easiest way to migrate is to following Vertex AI's\n[migration page in the Cloud Console](https://console.cloud.google.com/vertex-ai/migrate).\n\nOtherwise you can manually migrate with the following steps.\n\nManual Migration\n----------------\n\n1. Re-upload your Cloud AI Platform model to Vertex AI. Be careful to ensure that the uploaded model is using the same ML library when choosing the container image to use otherwise the model may not successfully deploy at a later step.\n2. Create a new Vertex AI endpoint for your hosted model.\n3. Deploy your uploaded model to the new Vertex AI endpoint.\n4. Update any references from `ee.Model.fromAiPlatformPredictor` to `ee.Model.fromVertexAi` in all of your code using Earth Engine and in the `endpoint` field use the new endpoint name that you created in step 2.\n\n| **Tip:** When re-deploying your model to Vertex AI consider using a [gRPC prediction format](https://developers.google.com/earth-engine/guides/ee-vertex-payload-formats#grpc_prediction_payloads)."]]