当前位置: 首页 > news >正文

orin部署tensorrt、cuda、cudnn、pytorch、onnx

绝大部分参考https://blog.csdn.net/qq_41336087/article/details/129661850

非orin可以参考https://blog.csdn.net/JineD/article/details/131201121

报错显卡驱动安装535没法安装、原始是和l4t-cuda的部分文件冲突

Options marked [*] produce a lot of output - pipe it through ‘less’ or
‘more’ ! nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite libnvidia-compute-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255446 files and directories currently installed.)
Preparing to unpack
libnvidia-compute-535_535.171.04-0ubuntu0.20.04.1_arm64.deb …
Unpacking libnvidia-compute-535:arm64 (535.171.04-0ubuntu0.20.04.1)
… dpkg: warning: overriding problem because --force enabled: dpkg:
warning: trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcuda.so’,
which is also in package nvidia-l4t-cuda 35.4.1-20230801124926 Setting
up libnvidia-compute-535:arm64 (535.171.04-0ubuntu0.20.04.1) …
Processing triggers for libc-bin (2.31-0ubuntu9.9) …
nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite nvidia-utils-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255467 files and directories currently installed.)
Preparing to unpack
nvidia-utils-535_535.171.04-0ubuntu0.20.04.1_arm64.deb … Unpacking
nvidia-utils-535 (535.171.04-0ubuntu0.20.04.1) over
(535.171.04-0ubuntu0.20.04.1) … Setting up nvidia-utils-535
(535.171.04-0ubuntu0.20.04.1) … Processing triggers for man-db
(2.9.1-1) … nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg
-i --force-overwrite libnvidia-extra-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255467 files and directories currently installed.)
Preparing to unpack
libnvidia-extra-535_535.171.04-0ubuntu0.20.04.1_arm64.deb …
Unpacking libnvidia-extra-535:arm64 (535.171.04-0ubuntu0.20.04.1) …
dpkg: warning: overriding problem because --force enabled: dpkg:
warning: trying to overwrite
‘/usr/lib/aarch64-linux-gnu/gbm/nvidia-drm_gbm.so’, which is also in
package nvidia-l4t-gbm 35.4.1-20230801124926 Setting up
libnvidia-extra-535:arm64 (535.171.04-0ubuntu0.20.04.1) … Processing
triggers for libc-bin (2.31-0ubuntu9.9) …
nvidia@nvidia-desktop:/var/cache/apt/archives$ sudo dpkg -i
–force-overwrite libnvidia-gl-535_535.171.04-0ubuntu0.20.04.1_arm64.deb (Reading
database … 255473 files and directories currently installed.)
Preparing to unpack
libnvidia-gl-535_535.171.04-0ubuntu0.20.04.1_arm64.deb … Unpacking
libnvidia-gl-535:arm64 (535.171.04-0ubuntu0.20.04.1) … dpkg:
warning: overriding problem because --force enabled: dpkg: warning:
trying to overwrite ‘/usr/share/glvnd/egl_vendor.d/10_nvidia.json’,
which is also in package nvidia-l4t-3d-core 35.4.1-20230801124926

在这里插入图片描述
直接覆写

sudo dpkg -i --force-overwrite /var/cache/apt/archives/nvidia-340_340.107-0ubuntu0~gpu18.04.1_amd64.deb
//注意最后 /var…amd64.deb 部分,是你报错误的文件路径名称

参考:https://www.cnblogs.com/xingboy/p/15770950.html

pytorch:

必须要用特殊版本
参考https://blog.csdn.net/qq_44235661/article/details/134105151
http://t.csdnimg.cn/Bq4o1

链接:https://pan.baidu.com/s/1bvYujHmJFkGCztC_ymcDFw
提取码:eqeq

onnx:

安装失败:cmake版本不对
参考https://blog.csdn.net/qq_40541102/article/details/130086491

ONNX_Runtime

下载地址:https://elinux.org/Jetson_Zoo#ONNX_Runtime

在这里插入图片描述

找对应版本1.12
在这里插入图片描述

参考
https://blog.csdn.net/pvmsmfchcs/article/details/134694477
onnxruntime-gpu https://zhuanlan.zhihu.com/p/661511110
https://www.cnblogs.com/shaoxx333/p/17044934.html#_label1

action-tutorials-py 0.9.4
ament-clang-format 0.9.8
ament-copyright 0.9.8
ament-cppcheck 0.9.8
ament-cpplint 0.9.8
ament-flake8 0.9.8
ament-index-python 1.1.0
ament-lint 0.9.8
ament-lint-cmake 0.9.8
ament-package 0.9.5
ament-pep257 0.9.8
ament-uncrustify 0.9.8
ament-xmllint 0.9.8
apt-clone 0.2.1
apturl 0.5.2
argcomplete 3.2.1
atomicwrites 1.1.5
attrs 19.3.0
autobahn 17.10.1
Automat 0.8.0
bcrypt 3.1.7
beautifulsoup4 4.8.2
blinker 1.4
Brlapi 0.7.0
catkin-pkg-modules 1.0.0
cbor 1.0.0
certifi 2019.11.28
cfgv 3.4.0
chardet 3.0.4
charset-normalizer 3.3.2
clang-format 14.0.6
Click 7.0
cmake 3.27.5
colcon-argcomplete 0.3.3
colcon-bash 0.5.0
colcon-cd 0.1.1
colcon-cmake 0.2.28
colcon-common-extensions 0.3.0
colcon-core 0.15.0
colcon-defaults 0.2.8
colcon-devtools 0.2.4
colcon-installed-package-information 0.1.0
colcon-library-path 0.2.1
colcon-metadata 0.2.5
colcon-mixin 0.2.3
colcon-notification 0.2.15
colcon-output 0.2.13
colcon-override-check 0.0.1
colcon-package-information 0.3.3
colcon-package-selection 0.2.10
colcon-parallel-executor 0.3.0
colcon-pkg-config 0.1.0
colcon-powershell 0.4.0
colcon-python-setup-py 0.2.8
colcon-recursive-crawl 0.2.3
colcon-ros 0.4.1
colcon-test-result 0.3.8
colcon-zsh 0.5.0
colorama 0.4.3
coloredlogs 15.0.1
constantly 15.1.0
contourpy 1.1.1
cov-core 1.15.0
coverage 4.5.2
cryptography 2.8
cupshelpers 1.0
cycler 0.10.0
Cython 3.0.10
dbus-python 1.2.16
decorator 4.4.2
defer 1.0.6
demo-nodes-py 0.9.4
distlib 0.3.8
distro 1.4.0
distro-info 0.23+ubuntu1.1
docutils 0.16
domain-coordinator 0.9.2
duplicity 0.8.12.0
empy 3.3.2
entrypoints 0.3
examples-rclpy-executors 0.9.4
examples-rclpy-minimal-action-client 0.9.4
examples-rclpy-minimal-action-server 0.9.4
examples-rclpy-minimal-client 0.9.4
examples-rclpy-minimal-publisher 0.9.4
examples-rclpy-minimal-service 0.9.4
examples-rclpy-minimal-subscriber 0.9.4
exceptiongroup 1.2.0
fasteners 0.14.1
filelock 3.13.1
flake8 3.7.9
flake8-blind-except 0.2.1
flake8-builtins 2.2.0
flake8-class-newline 1.6.0
flake8-comprehensions 3.14.0
flake8-deprecated 2.2.1
flake8-docstrings 1.7.0
flake8-import-order 0.18.2
flake8-quotes 3.3.2
flatbuffers 24.3.25
fonttools 4.45.1
future 0.18.2
gdown 5.0.0
gitdb 4.0.11
GitPython 3.1.40
graphsurgeon 0.4.6
html5lib 1.0.1
httplib2 0.14.0
humanfriendly 10.0
hyperlink 19.0.0
identify 2.5.33
idna 2.8
ifcfg 0.18
importlib-metadata 1.5.0
importlib-resources 6.1.1
incremental 16.10.1
iniconfig 2.0.0
jetson-stats 4.2.3
Jetson.GPIO 2.0.20
joblib 1.3.2
keyring 18.0.1
kiwisolver 1.0.1
language-selector 0.1
lap 0.4.0
lapx 0.5.9
lark-parser 0.8.1
launch 0.10.10
launch-ros 0.11.7
launch-testing 0.10.10
launch-testing-ros 0.11.7
launch-xml 0.10.10
launch-yaml 0.10.10
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
lockfile 0.12.2
louis 3.12.0
lxml 4.5.0
lz4 3.0.2+dfsg
macaroonbakery 1.3.1
Mako 1.1.0
markdown-it-py 3.0.0
MarkupSafe 1.1.0
matplotlib 3.7.4
mccabe 0.6.1
mdurl 0.1.2
mock 3.0.5
monotonic 1.5
more-itertools 4.2.0
mpi4py 3.0.3
mpmath 1.3.0
netifaces 0.10.4
nodeenv 1.8.0
nose2 0.9.1
notify2 0.3
numpy 1.24.4
oauthlib 3.1.0
olefile 0.46
onboard 1.4.1
onnx 1.16.1
onnxruntime-gpu 1.12.1
onnxsim 0.4.36
opencv-python 4.6.0.66
osrf-pycommon 0.1.11
packaging 20.3
PAM 0.4.2
pandas 2.0.3
paramiko 2.6.0
pbr 6.0.0
pexpect 4.6.0
Pillow 10.1.0
pip 20.0.2
pipx 1.4.3
platformdirs 4.1.0
pluggy 0.13.0
pre-commit 3.5.0
protobuf 5.27.0
psutil 5.9.6
py 1.8.1
py-cpuinfo 9.0.0
py-ubjson 0.14.0
pyasn1 0.4.2
pyasn1-modules 0.2.1
pycairo 1.16.2
pycodestyle 2.5.0
pycrypto 2.6.1
pycups 1.9.73
pydocstyle 2.1.1
pydot 1.4.1
pyflakes 2.1.1
pygments 2.18.0
PyGObject 3.36.0
PyHamcrest 1.9.0
PyICU 2.4.2
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyOpenSSL 19.0.0
pyparsing 2.4.6
pypng 0.0.20
PyQRCode 1.2.1
PyQt5 5.14.1
pyRFC3339 1.1
PySocks 1.7.1
pytest 7.4.4
pytest-cov 2.8.1
pytest-repeat 0.9.3
pytest-rerunfailures 13.0
python-apt 2.0.1+ubuntu0.20.4.1
python-dateutil 2.8.2
python-dbusmock 0.19
python-debian 0.1.36+ubuntu1.1
python-snappy 0.5.3
PyTrie 0.2
pytz 2023.3.post1
pyxdg 0.26
PyYAML 5.3.1
pyzed 4.0
quality-of-service-demo-py 0.9.4
rdp 0.8
requests 2.31.0
requests-unixsocket 0.2.0
rich 13.7.1
roman 2.0.0
ros2action 0.9.13
ros2bag 0.3.11
ros2cli 0.9.13
ros2component 0.9.13
ros2doctor 0.9.13
ros2interface 0.9.13
ros2launch 0.11.7
ros2lifecycle 0.9.13
ros2multicast 0.9.13
ros2node 0.9.13
ros2param 0.9.13
ros2pkg 0.9.13
ros2run 0.9.13
ros2service 0.9.13
ros2topic 0.9.13
rosdep 0.22.2
rosdep-modules 0.22.2
rosdepc 1.1.0
rosdistro-modules 0.9.0
rosidl-runtime-py 0.9.1
rospkg-modules 1.5.0
rpyutils 0.2.0
rqt-action 1.0.2
rqt-console 1.1.2
rqt-graph 1.1.3
rqt-gui 1.1.2
rqt-gui-py 1.1.2
rqt-msg 1.1.1
rqt-plot 1.1.1
rqt-publisher 1.3.0
rqt-py-console 1.0.2
rqt-reconfigure 1.0.8
rqt-service-caller 1.0.5
rqt-shell 1.0.2
rqt-srv 1.0.3
rqt-top 1.0.2
rqt-topic 1.3.0
scikit-learn 1.3.2
scipy 1.10.1
seaborn 0.13.0
SecretStorage 2.3.1
service-identity 18.1.0
setuptools 69.0.3
simplejson 3.16.0
sip 4.19.21
six 1.14.0
smbus2 0.4.3
smmap 5.0.1
snowballstemmer 2.0.0
soupsieve 1.9.5
sros2 0.9.5
sympy 1.12
systemd-python 234
teleop-twist-keyboard 2.3.2
tensorrt 8.4.1.5
testresources 2.0.1
thop 0.1.1.post2209072238
threadpoolctl 3.2.0
tomli 2.0.1
topic-monitor 0.9.4
torch 1.12.0a0+2c916ef.nv22.3
torchvision 0.13.0
tqdm 4.66.1
Twisted 18.9.0
txaio 2.10.0
typing-extensions 4.8.0
tzdata 2023.3
u-msgpack-python 2.1
ubuntu-advantage-tools 8001
ubuntu-drivers-common 0.0.0
uff 0.6.9
ultralytics 8.0.217
urllib3 1.25.8
urwid 2.0.1
userpath 1.9.1
vcstool 0.3.0
virtualenv 20.25.0
wadllib 1.3.3
wcwidth 0.1.8
webencodings 0.5.1
wheel 0.34.2
wsaccel 0.6.2
xkit 0.0.0
zipp 3.17.0
zope.interface 4.7.1

在这里插入图片描述

http://www.lryc.cn/news/359201.html

相关文章:

  • 使用javacv对摄像头视频转码并实现播放
  • Linux网络-Socket套接字_Windows与Linux端双平台基于Udp传输协议进行多线程跨平台的服务器与客户端网络通信的简易聊天室实现
  • 20分钟快速入门SQL
  • 汇总区间,合并区间
  • Web程序设计-实验05 DOM与BOM编程
  • Window系统安装Docker
  • RabbitMQ不完整的笔记
  • 微软Edge浏览器深度解析:功能、同步、隐私与安全
  • 网络性能测试工具:iperf3介绍
  • scp:Linux系统本地与远程文件传输命令
  • python基础(习题、资料)
  • shell脚本免交互
  • WPF学习笔记:给文字添加线性渐变效果
  • Fully Convolutional Networks for Semantic Segmentation--论文笔记
  • Camworks编程怎么样:深度解析其四大特点、五大应用领域、六大优势与七大挑战
  • 【Linux】操作系统之冯诺依曼体系
  • c++ QT 实现QMediaPlayer播放音频显示音频级别指示器
  • 失之毫厘差之千里之load和loads
  • element ui在移动端的适配问题
  • 堆排序详细理解
  • RK3588+FPGA+AI高性能边缘计算盒子,应用于视频分析、图像视觉等
  • 07-操作元素(键盘和鼠标事件)
  • 3389,为了保障3389端口的安全,我们可以采取的措施
  • Java集合【超详细】2 -- Map、可变参数、Collections类
  • 最佳 Mac 数据恢复:恢复 Mac 上已删除的文件
  • 芋道系统,springboot+vue3+mysql实现地址的存储与显示
  • 【C++】C++11新特性:列表初始化、声明、新容器、右值引用、万能引用和完美转发
  • 【IB Protocal Serial--WQE】
  • C++ 混合运算的类型转换
  • 线性时间选择