Migrate to Model Card Toolkit 3
Stay organized with collections
Save and categorize content based on your preferences.
Model Card Toolkit 3 is designed to be model framework agnostic. Unlike in previous
versions, you now need to install the extra package model-card-toolkit[tensorflow]
to use Model Card Toolkit's TensorFlow utilities.
We've tried to balance minimizing breaking changes and having a simple and
consistent API. The following table lists the backwards incompatible changes
to the API. The primary change is that utilities that require optional TensorFlow
dependencies are in files prefixed with tf_
.
Removed |
Replacement |
TensorFlow utils in model_card_toolkit.utils.graphics |
model_card_toolkit.utils.tf_graphics |
model_card_toolkit.utils.json_util |
model_card_toolkit.utils.json_utils |
model_card_toolkit.utils.testdata.testdata_utils |
model_card_toolkit.utils.testdata.tf_testdata_utils |
model_card_toolkit.utils.sources |
model_card_toolkit.utils.tf_sources |
model_card_toolkit.utils.tfx_utils |
model_card_toolkit.utils.tf_utils |
model_card_toolkit.utils.validation |
model_card_toolkit.utils.json_utils |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-03 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-10-03 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-03 UTC."],[],[]]