Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

ModelCardGenerator component cannot run in Vertex AI #259

Description

@jeongukjae

Expected Behavior

Actual Behavior

Vertex AI requires artifact schema title to be ^[a-z][a-z0-9-_]{2,20}[.][A-Z][a-zA-Z0-9-_]{2,49}$, and model card generator component has output artifact typed tfx_addons.model_card_generator.artifact.ModelCard. So it cannot be run in Vertex AI.

Error message:

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

Steps to Reproduce the Problem

Specifications

tensorflow==2.9.3
tfx==1.9.1
tfx-addons==0.6.0
...
  • Version:
  • Platform: Vertex AI

Related issue:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions