ModelCard Artifact isn't supported by the Vertex MetaData Store
hanneshapke opened this issue · comments
Hannes Hapke commented
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.