This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # pyTorch install script for NVIDIA Jetson TX1/TX2, | |
| # from a fresh flashing of JetPack 2.3.1 / JetPack 3.0 / JetPack 3.1 | |
| # | |
| # for the full source, see jetson-reinforcement repo: | |
| # https://github.com/dusty-nv/jetson-reinforcement/blob/master/CMakePreBuild.sh | |
| # | |
| # note: pyTorch documentation calls for use of Anaconda, | |
| # however Anaconda isn't available for aarch64. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install dependencies | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential | |
| sudo apt-get install -y cmake | |
| sudo apt-get install -y libgtk2.0-dev | |
| sudo apt-get install -y pkg-config | |
| sudo apt-get install -y python-numpy python-dev | |
| sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
| sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.