نصب گرافیک TensorFlow
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
سازه های پایدار
گرافیک TensorFlow به TensorFlow 1.13.1 یا بالاتر بستگی دارد. ساختهای شبانه TensorFlow (tf-nightly) نیز پشتیبانی میشوند.
برای نصب آخرین نسخه CPU از PyPI ، موارد زیر را اجرا کنید:
# Installing with the `--upgrade` flag ensures you'll get the latest version.
pip install --upgrade tensorflow-graphics
و برای نصب آخرین نسخه GPU، اجرا کنید:
# Installing with the `--upgrade` flag ensures you'll get the latest version.
pip install --upgrade tensorflow-graphics-gpu
برای راهنمایی نصب اضافی، راهنمای نصب پیش نیازها، و (به صورت اختیاری) راه اندازی محیط های مجازی، به راهنمای نصب TensorFlow مراجعه کنید.
نصب از منبع - macOS/Linux
همچنین می توانید با اجرای دستورات زیر از منبع نصب کنید:
git clone https://github.com/tensorflow/graphics.git
sh build_pip_pkg.sh
pip install --upgrade dist/*.whl
نصب بسته های اختیاری - لینوکس
برای استفاده از بارگذار داده TensorFlow Graphics EXR، OpenEXR باید نصب شود. این کار را می توان با اجرای دستورات زیر انجام داد:
sudo apt-get install libopenexr-dev
pip install --upgrade OpenEXR
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],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"]]