首页 > 其他 > 详细

xavier NX上安装pytorch_待整理

时间:2020-07-09 15:14:56      阅读:371      评论:0      收藏:0      [点我收藏+]

1.首先登录github,在guthub上搜索pytorch,然后pytorch下面的工程中可以看到如下内容 

NVIDIA Jetson platforms

Python wheels for NVIDIA‘s Jetson Nano, Jetson TX2, and Jetson AGX Xavier are available via the following URLs:

They require JetPack 4.2 and above, and @dusty-nv maintains them

 

 

https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048

 

import torch

提示如下错误,

OSError: libmpi_cxx.so.20: cannot open shared object file: No such file or directory

然后首先

sudo apt-get update

然后执行

apt-get install libopenmpi-dev

再次import torch发现错误消失,但是出现如下错误

ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory

执行如下命令

sudo apt-get install libopenblas-dev

 

xavier NX上安装pytorch_待整理

原文:https://www.cnblogs.com/cumtchw/p/13273753.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!