TensorFlow 그래픽 설치하기

안정적인 빌드

TensorFlow Graphics는 TensorFlow 1.13.1 이상에 의존합니다. TensorFlow (tf-nightly)의 Nightly 빌드도 지원됩니다.

PyPI에서 최신 CPU 버전을 설치하려면 다음을 실행합니다.

# 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

선택적 패키지 설치하기 - Linux

TensorFlow Graphics EXR 데이터 로더를 사용하려면 OpenEXR을 설치해야합니다. 다음 명령을 실행하여 수행할 수 있습니다.

sudo apt-get install libopenexr-dev
pip install --upgrade OpenEXR