TX2安装torchvision0.5.0(实测有效)

TX2 torchvision安装

  • torchvision0.2.2安装
  • torchvision0.5.0安装

torchvision0.2.2安装

sudo apt-get install libjpeg-dev zlib1g-dev
git clone https://github.com/python-pillow/Pillow.git
cd Pillow/
sudo python setup.py install
sudo pip --no-cache-dir install torchvision

torchvision0.5.0安装

sudo apt-get install libjpeg-dev zlib1g-dev
#这里torchvision版本可自己根据需求改变
git clone -b v0.5.0 https://github.com/pytorch/vision torchvision
cd torchvision
sudo python3 setup.py install

你可能感兴趣的:(TX2)