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。"],[[["Cloud AI Platform will be discontinued on January 31, 2025."],["Migration to Vertex AI is recommended and can be done through the migration page in the Cloud Console."],["Manual migration involves re-uploading your model to Vertex AI, creating a new endpoint, and deploying the model."],["Update all references in your code from `ee.Model.fromAiPlatformPredictor` to `ee.Model.fromVertexAi`, using the new endpoint name."],["Consider using a gRPC prediction format when re-deploying your model to Vertex AI."]]],[]]