Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
MCT 1.2 Release
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 419611222
  • Loading branch information
shuklak13 authored and ml-fairness-infra-github committed Jan 4, 2022
1 parent 2817be9 commit 56f8092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"outputs": [],
"source": [
"!pip install --upgrade pip==20.2\n",
"!pip install \"tfx==1.2.0\"\n",
"!pip install model-card-toolkit"
]
},
Expand Down Expand Up @@ -1080,7 +1079,8 @@
"source": [
"import model_card_toolkit as mctlib\n",
"\n",
"mct = mctlib.ModelCardToolkit(mlmd_store=mlmd_store, model_uri=model_uri)"
"mlmd_source = mctlib.utils.MlmdSource(store=mlmd_store, model_uri=model_uri)\n",
"mct = mctlib.ModelCardToolkit(mlmd_source=mlmd_source)"
]
},
{
Expand Down Expand Up @@ -1281,7 +1281,7 @@
},
"outputs": [],
"source": [
"mct.update_model_card_json(model_card)"
"mct.update_model_card(model_card)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion model_card_toolkit/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"""Contains the version string of the Model Card Toolkit."""

# Note that setup.py uses this version.
__version__ = '1.1.1.dev'
__version__ = '1.2.0'
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'jsonschema>=3.2.0,<4',
'tensorflow-model-analysis>=0.36.0,<0.37.0',
'tensorflow-metadata>=1.5.0,<1.6.0',
'tfx>=1.5.0,<1.6.0',
'ml-metadata>=1.5.0,<1.6.0',
'dataclasses;python_version<"3.7"',
]
Expand Down

0 comments on commit 56f8092

Please sign in to comment.