nvidia jetson nx cuda+cudnn安装

操作步骤

1. 安装jtop

sudo apt-get install git cmake
sudo apt-get install python3-dev
sudo apt-get install libhdf5-serial-dev hdf5-tools
sudo apt-get install libatlas-base-dev gfortran
sudo apt-get install python3-pip
sudo -H pip3 install jetson-stats

安装完成重启后直接在terminal中输入

jtop

2. 安装cuda

终端中输入

 sudo apt-get install cuda-toolkit-10-2

打开~/.bashrc文件

sudo gedit  ~/.bashrc

安装完成之后,将以下复制到 .bashrc文件末尾

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-10.2/lib64
export PATH=$PATH:/usr/local/cuda-10.2/bin
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda-10.2

3. cudnn安装

终端中运行

sudo apt-get install libcudnn8

4. 检查是否安装成功

终端中运行jtop

jtop

你可能感兴趣的:(jetson,nx,cuda,cudnn,jtop,安装)