Menu

Data Science Dev

Design, develop, deploy

Installing Jetpack 3.1 on Jetson TX2 with Tensorflow 1.3 / Keras / hdf5 (.h5)

1. Download Jetpack 3.1 runfile from here on Host PC.

2. Run the installer "./JetPack-L4T-3.1-linux-x64.run" from terminal (you may need to navigate directory to location where downloaded).

3. Follow prompts and instructions to install.  The download may take a while and after it has completed, the instructions in a terminal will tell you to connect the Jetson to the Host PC in force recovery mode.  Make sure you connect an ethernet cable to the Jetson that is connected to the same router as the Host PC.

4. After Jetson has completed install, connect the Jetson HDMI to a monitor and a keyboard and mouse through the USB port (using a USB port expander dongle).  

5. Open a terminal in Ubuntu on the Jetson and enter the following commands (some may take a while to compile just be patient!).

6. sudo apt update

7. sudo apt-get install libblas-dev liblapack-dev python-dev idle nano python-pip

8. sudo pip install --upgrade pip

9. sudo pip install numpy

10. Download the wheel file provided by Peter Lee, https://github.com/peterlee0127/tensorflow-tx2

11. Install the wheel file by navigating to the directory of the downloaded wheel file and typing "sudo pip instaltensorflow-1.3.0-cp27-cp27mu-linux_aarch64.whl"

12. If you need .h5 file load and save, install "sudo apt-get install libhdf5-dev", and then install, "sudo pip install h5py"

13. If you need Keras, install "sudo pip install keras"

Go Back

Comment