tensorflow / tfx-addons

Developers helping developers. TFX-Addons is a collection of community projects to build new components, examples, libraries, and tools for TFX. The projects are organized under the auspices of the special interest group, SIG TFX-Addons. Join the group at http://goo.gle/tfx-addons-group

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModelCard Artifact isn't supported by the Vertex MetaData Store

hanneshapke opened this issue · comments

Expected Behavior

ModelCardGenerator component should run via Vertex Pipelines.

Actual Behavior

Pipeline fails immediately upon pipeline execution via Vertex Pipeline.

Error:

com.google.cloud.ai.platform.common.errors.AiPlatformException: code=INVALID_ARGUMENT, message=MetadataSchema must include a schema title that satisfies the following regex: ^[a-z][a-z0-9-_]{2,20}[.][A-Z][a-zA-Z0-9-_]{2,49}$, cause=null

Related: tensorflow/tfx#5404

After changing the component specs to use Schema, the pipeline worked.

  OUTPUTS = {
      MODEL_CARD_KEY: component_spec.ChannelParameter(type=standard_artifacts.Schema),
  }

Steps to Reproduce the Problem

Run pipeline via Vertex AI Pipeline.