Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'tfx.dsl.components' has no attribute 'common' #21

Open
oonisim opened this issue Jun 11, 2022 · 0 comments
Open

module 'tfx.dsl.components' has no attribute 'common' #21

oonisim opened this issue Jun 11, 2022 · 0 comments

Comments

@oonisim
Copy link

oonisim commented Jun 11, 2022

03-training-formalization.ipynb

schema_importer = tfx.dsl.components.common.importer.Importer(
    source_uri=RAW_SCHEMA_DIR,
    artifact_type=tfx.types.standard_artifacts.Schema,
    reimport=False
)

context.run(schema_importer)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_8454/2100786518.py in <module>
      1 #import tfx.v1
      2 
----> 3 schema_importer = tfx.dsl.components.common.importer.Importer(
      4 #schema_importer = tfx.v1.dsl.Importer(
      5     source_uri=RAW_SCHEMA_DIR,

AttributeError: module 'tfx.dsl.components' has no attribute 'common'

Environment

tfx                                   1.8.0

Soluition

import tfx.v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant