Installing TensorFlow Graphics
Stay organized with collections
Save and categorize content based on your preferences.
Stable builds
TensorFlow Graphics depends on TensorFlow
1.13.1 or above. Nightly builds of TensorFlow (tf-nightly) are also supported.
To install the latest CPU version from
PyPI, run the following:
# Installing with the `--upgrade` flag ensures you'll get the latest version.
pip install --upgrade tensorflow-graphics
and to install the latest GPU version, run:
# Installing with the `--upgrade` flag ensures you'll get the latest version.
pip install --upgrade tensorflow-graphics-gpu
For additional installation help, guidance installing prerequisites, and
(optionally) setting up virtual environments, see the
TensorFlow installation guide.
Installing from source - macOS/Linux
You can also install from source by executing the following commands:
git clone https://github.com/tensorflow/graphics.git
sh build_pip_pkg.sh
pip install --upgrade dist/*.whl
Installing optional packages - Linux
To use the TensorFlow Graphics EXR data loader, OpenEXR needs to be installed.
This can be done by running the following commands:
sudo apt-get install libopenexr-dev
pip install --upgrade OpenEXR
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 2021-01-28 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 2021-01-28 UTC."],[],[],null,["# Installing TensorFlow Graphics\n\n\u003cbr /\u003e\n\nStable builds\n-------------\n\nTensorFlow Graphics depends on [TensorFlow](https://www.tensorflow.org/install)\n1.13.1 or above. Nightly builds of TensorFlow (tf-nightly) are also supported.\n\nTo install the latest CPU version from\n[PyPI](https://pypi.org/project/tensorflow-graphics/), run the following: \n\n # Installing with the `--upgrade` flag ensures you'll get the latest version.\n pip install --upgrade tensorflow-graphics\n\nand to install the latest GPU version, run: \n\n # Installing with the `--upgrade` flag ensures you'll get the latest version.\n pip install --upgrade tensorflow-graphics-gpu\n\nFor additional installation help, guidance installing prerequisites, and\n(optionally) setting up virtual environments, see the\n[TensorFlow installation guide](https://www.tensorflow.org/install).\n\nInstalling from source - macOS/Linux\n------------------------------------\n\nYou can also install from source by executing the following commands: \n\n git clone https://github.com/tensorflow/graphics.git\n sh build_pip_pkg.sh\n pip install --upgrade dist/*.whl\n\nInstalling optional packages - Linux\n------------------------------------\n\nTo use the TensorFlow Graphics EXR data loader, OpenEXR needs to be installed.\nThis can be done by running the following commands: \n\n sudo apt-get install libopenexr-dev\n pip install --upgrade OpenEXR"]]