Git checkout branch_name # r2.2, r2.3, etc. The repo defaults to the master development branch. TensorFlow repository: git clone cd tensorflow Note: It is easier to set up one of TensorFlow's GPU-enabled Docker images. Software required to run TensorFlow on a GPU. Read the GPU support guide to install the drivers and additional Install GPU support (optional, Linux only) ![]() Sure to install the correct Bazel version from TensorFlow'sįile. If Bazelisk is not available, you can manually ![]() ForĮase of use, add Bazelisk as the bazel executable in your PATH. To build TensorFlow, you will need to install Bazel.īazel and automatically downloads the correct Bazel version for TensorFlow. ![]() Additional required dependencies are listed in theįile under REQUIRED_PACKAGES. Install the TensorFlow pip package dependencies (if using a virtualĮnvironment, omit the -user argument): pip install -U -user pip numpy wheel packaging requests opt_einsum pip install -U -user keras_preprocessing -no-deps Note: A pip version >19.0 is required to install the TensorFlow 2. Install using the Homebrew package manager: /usr/bin/ruby -e "$(curl -fsSL )" export PATH="/usr/local/opt/python/libexec/bin:$PATH" # if you are on macOS 10.12 (Sierra) use export PATH="/usr/local/bin:/usr/local/sbin:$PATH" brew install python Ubuntu sudo apt install python3-dev python3-pip macOS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |