jetson tx2采用torchvision安装

阿里云双11来了!从本博客参与阿里云,服务器最低只要86元/年!

sudo apt install libopenblas-dev libatlas-dev liblapack-dev

sudo apt install liblapacke-dev checkinstall # For OpenCV

sudo apt-get install python-pip

sudo pip install numpy scipy # ~20-30 min

sudo pip install pyyaml

sudo pip install scikit-build

sudo apt install ninja-build

sudo apt-get -y install cmake

sudo apt install libffi-dev

sudo pip install cffi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

#add both 2 lines to ~/.profile ou ~/.bashrc

export CUDNN_LIB_DIR=/usr/lib/aarch64-linux-gnu

export CUDNN_INCLUDE_DIR=/usr/include

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

git clone https://github.com/pytorch/pytorch.git

cd pytorch

git checkout -b v0.1.10 v0.1.10

sudo time python setup.py install

sudo apt clean

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

https://www.jianshu.com/p/7c7d61262cf2

Python量化投资网携手4326手游为资深游戏玩家推荐:《剧透《星屑之塔》永夜巨龙—时间与世界的变化

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
0 条回复 A 作者 M 管理员
    所有的伟大,都源于一个勇敢的开始!
欢迎您,新朋友,感谢参与互动!欢迎您 {{author}},您在本站有{{commentsCount}}条评论