公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
Cloud AI Platform 迁移指南
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Cloud AI Platform 已弃用,并将于 2025 年 1 月 31 日停用。迁移最简单的方法是按照 Vertex AI 的 Cloud 控制台迁移页面中的说明操作。
否则,您可以按照以下步骤手动进行迁移。
手动迁移
- 将 Cloud AI Platform 模型重新上传到 Vertex AI。选择要使用的容器映像时,请务必确保上传的模型使用的是相同的机器学习库,否则模型可能无法在后续步骤中成功部署。
- 为托管式模型创建新的 Vertex AI 端点。
- 将上传的模型部署到新的 Vertex AI 端点。
- 使用 Earth Engine 更新所有代码中从
ee.Model.fromAiPlatformPredictor
到 ee.Model.fromVertexAi
的所有引用,并在 endpoint
字段中使用您在第 2 步中创建的新端点名称。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-08。
[null,null,["最后更新时间 (UTC):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)."]]