Home » TX2入门教程软件篇 » TX2入门教程软件篇-安装TensorFlow(jetpack4.2)

TX2入门教程软件篇-安装TensorFlow(jetpack4.2)

TX2入门教程软件篇-安装TensorFlow(jetpack4.2)

说明:

  • 介绍如何在jetpack4.2版本下TensorFlow

步骤:

  • 根据如下脚本一步步安装
# install prerequisites
$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev

# install and upgrade pip3
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip

# install the following python packages
$ sudo pip3 install -U numpy grpcio absl-py py-cpuinfo psutil portpicker six mock requests gast h5py astor termcolor protobuf keras-applications keras-preprocessing wrapt google-pasta

# install the latest version of TensorFlow
$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu
  • 正常安装完之后,即可安装完成

测试:

参考:

  • https://elinux.org/Jetson_Zoo
  • Website: https://tensorflow.org
  • Source: https://github.com/tensorflow/tensorflow

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: tx2入门教程软件篇