This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absl-py==0.8.1 | |
alabaster==0.7.12 | |
albumentations==0.1.12 | |
altair==4.1.0 | |
apache-beam==2.26.0 | |
argon2-cffi==20.1.0 | |
asgiref==3.3.1 | |
astor==0.8.1 | |
astropy==4.1 | |
astunparse==1.6.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning!!! Possibly conflicting dependencies found: | |
* tensorflow-transform==0.22.0 | |
- tensorflow [required: >=1.15,<2.3,!=2.0.*, installed: 2.3.0] | |
* tensorflow-serving-api==2.4.0 | |
- tensorflow [required: >=2.4.0,<3, installed: 2.3.0] | |
* tensorflow-data-validation==0.22.2 | |
- joblib [required: >=0.12,<0.15, installed: 0.17.0] | |
* nbclient==0.5.1 | |
- jupyter-client [required: >=6.1.5, installed: 5.3.5] | |
* multiprocess==0.70.11.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**What did you want to do?** | |
I attempted to run `pip install -q -U seaborn scikit-learn model-card-toolkit` on pip version 20.3.1. | |
**Output** | |
``` | |
ERROR: Exception: | |
Traceback (most recent call last): | |
File "/tmpfs/src/tf_docs_env/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 224, in _main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning!!! Possibly conflicting dependencies found: | |
* tensorflow==2.4.0 | |
- grpcio [required: ~=1.32.0, installed: 1.34.0] | |
- absl-py [required: ~=0.10, installed: 0.8.1] | |
* tensorflow-transform==0.22.0 | |
- tensorflow [required: >=1.15,<2.3,!=2.0.*, installed: 2.4.0] | |
* tensorboard==2.4.0 | |
- setuptools [required: >=41.0.0, installed: 39.2.0] | |
* google-auth==1.24.0 | |
- setuptools [required: >=40.3.0, installed: 39.2.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absl-py==0.10.0 | |
alabaster==0.7.12 | |
albumentations==0.1.12 | |
altair==4.1.0 | |
argon2-cffi==20.1.0 | |
asgiref==3.3.1 | |
astor==0.8.1 | |
astropy==4.1 | |
astunparse==1.6.3 | |
async-generator==1.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ModelCardArtifact(Artifact): | |
TYPE_NAME = 'ModelCard' | |
class ModelCardComponentSpec(component_spec.ComponentSpec): | |
PARAMETERS = { | |
'model_card_proto': | |
component_spec.ExecutionParameter(type=Message), | |
'model_card_schema': component_spec.ExecutionParameter(type=GeneratedProtocolMessageType), | |
'model_card_template': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Metadata-Version: 2.1 | |
Name: model-card-toolkit | |
Version: 1.1.1.dev0 | |
Summary: Model Card Toolkit | |
Home-page: https://github.com/tensorflow/model-card-toolkit | |
Author: Google LLC | |
Author-email: tensorflow-extended-dev@googlegroups.com | |
License: Apache 2.0 | |
Keywords: model card toolkit ml metadata machine learning | |
Platform: UNKNOWN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Model Card TFX Component. | |
The ModelCardGenerator is used to generate model cards in TFX pipelines. | |
""" | |
from typing import Any, List, Tuple, Optional | |
from model_card_toolkit.tfx import artifact | |
from model_card_toolkit.tfx import executor |