首页 > 解决方案 > google's notebook on vertex ai throwing following error: type name google.VertexModel is different from expected: Model

问题描述

I got this error, when compiling my pipeline:

type name google.VertexModel is different from expected: Model

when running the following notebook by google: automl_tabular_classification_beans

I suppose that kubeflow v2 is not able to handle (yet) google.vertexmodel as type for component input. However, I've been browsing a bit and did not find any good clue, or refs (kfp documentation for v2 is not up to date..) to solve this issue. Hopefully someone here can give me a good pointer? I look forward to all of your ideas.

Cheers

标签: google-cloud-vertex-aikfp

解决方案


这是 0.1.9 版的重大更改。这里有一些建议:

  1. 将您的版本固定到 0.1.7 并继续使用 Model 类型。
  2. 使用 0.1.9 并将输出从 Output[Model] 切换到 Output[Artifact]。
  3. 尝试 0.2.0 版本,这里的文档。

希望这些建议能奏效!


推荐阅读