RSVP for your your local TensorFlow Everywhere event today!

Install Model Card Toolkit

Installing with pip

The Model Card Toolkit is hosted on PyPI, and requires Python 3.6 or later.

pip install model-card-toolkit

You may need to append the --use-deprecated=legacy-resolver flag when running pip20.3.

Installing from source

Starting with version 0.1.4 compiling Model Card Toolkit requires Bazel>=2.0.0.

First, clone the github repo:

git clone https://github.com/tensorflow/model-card-toolkit.git

Build the pip package from source:

pip install wheel
cd model_card_toolkit
python3 setup.py sdist bdist_wheel

Finally, install your locally built package:

pip install --upgrade ./dist/*pkg.whl

Filing a Bug

If you run into issues with Model Card Toolkit installation, please file an issue with details on your operating system version, Python version, pip version, and locally-installed packages. You can find your locally-installed packages with pip freeze).