上一篇文章里面记录了在xavier NX上安装pytorch,https://www.cnblogs.com/cumtchw/p/13273753.html
然后接下来安装torchvision,下面是英伟达官网上的torchvision的安装方法:https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048
sudo apt-get install libjpeg-dev zlib1g-dev libpython3-dev libavcodec-dev libavformat-dev libswscale-dev
git clone --branch v0.8.1 https://github.com/pytorch/vision torchvision # see below for version of torchvision to download
cd torchvision
#export BUILD_VERSION=0.x.x # where 0.x.0 is the torchvision version,上面github下载时候已经指定版本号了,这里不用了.
python3 setup.py install --user
cd ../ # attempting to load torchvision from build dir will result in im