Tensorflow 설치 및 확인

  1. Install JetPack on your Jetson device.

  2. Install system packages required by TensorFlow:

    $ sudo apt-get update
    $ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev
  3. Install and upgrade pip3.

    $ sudo apt-get install python3-pip
    $ sudo pip3 install -U pip testresources setuptools
  4. Install the Python package dependencies.

    $ sudo pip3 install -U numpy==1.16.1 future==0.17.1 mock==3.0.5 h5py==2.9.0 keras_preprocessing==1.0.5 keras_applications==1.0.8 gast==0.2.2 enum34 futures protobuf

Install TensorFlow using the pip3 command. This command will install the latest version of TensorFlow compatible with JetPack 4.3.

$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v43 tensorflow-gpu

Install TensorFlow using the pip3 command. This command will install the latest version of TensorFlow compatible with JetPack 3.3.

$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v33 tensorflow-gpu

Last updated

Was this helpful?