Eclipse在使用Tensorflow-CUDA10 的时候,出现错误;

参考链接:https://blog.csdn.net/qq_20373723/article/details/80065936

官方文档:https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html#downloading

  1. Download the TensorRT local repo file that matches the Ubuntu version you are using.
  2. Install TensorRT from the Debian local repo package.
    $ sudo dpkg -i
    nv-tensorrt-repo-ubuntu1604-cuda10.0-trt5.0.2.6-ga-20181009_1-1_amd64.deb
    $ sudo apt-key add /var/nv-tensorrt-repo-cuda10.0-trt5.0.2.6-ga-20181009/7fa2af80.pub$ sudo apt-get update
    $ sudo apt-get install tensorrt
    

    安装时候出现库的错误,使用sudo apt-get -f install  ,然后 sudo apt-get install tensorrt ,自动下载几Mb文件,安装成功!

  3. If using Python 2.7:
    $ sudo apt-get install python-libnvinfer-dev

    The following additional packages will be installed:

      python-libnvinfer

    If using Python 3.x:

    $ sudo apt-get install python3-libnvinfer-dev

    The following additional packages will be installed:

      python3-libnvinfer

    If you plan to use TensorRT with TensorFlow:

    $ sudo apt-get install uff-converter-tf

    The graphsurgeon-tf package will also be installed with the above command.

  4. Verify the installation.
    $ dpkg -l | grep TensorRT

    You should see something similar to the following:

    wishchin@wishchin-HP-ENVY-Laptop-13-ad1xx:~/下载$ dpkg -l | grep TensorRT
    ii  graphsurgeon-tf                                             5.0.2-1+cuda10.0                              amd64        GraphSurgeon for TensorRT package
    ii  libnvinfer-dev                                              5.0.2-1+cuda10.0                              amd64        TensorRT development libraries and headers
    ii  libnvinfer-samples                                          5.0.2-1+cuda10.0                              all          TensorRT samples and documentation
    ii  libnvinfer5                                                 5.0.2-1+cuda10.0                              amd64        TensorRT runtime libraries
    ii  python3-libnvinfer                                          5.0.2-1+cuda10.0                              amd64        Python 3 bindings for TensorRT
    ii  python3-libnvinfer-dev                                      5.0.2-1+cuda10.0                              amd64        Python 3 development package for TensorRT
    ii  tensorrt                                                    5.0.2.6-1+cuda10.0                            amd64        Meta package of TensorRT
    ii  uff-converter-tf                                            5.0.2-1+cuda10.0                              amd64        UFF converter for TensorRT package

App Server Installation: When setting up servers which will host TensorRT powered applications, you can simply install any of the following:

  • the libnvinfer5 package (C++), or
  • the python-libnvinfer package (Python 2.7), or
  • the python3-libnvinfer package (Python 3.x).

Issue the following commands if you want to run an application that was built with TensorRT using the Debian package, for example:

$ sudo dpkg -i
nv-tensorrt-repo-ubuntu1x04-cudax.x-trt5.1.x.x-ga-yyyymmdd_1-1_amd64.deb
$ sudo apt-key add /var/nv-tensorrt-repo-cudax.x-trt5.1.x.x-ga-yyyymmdd/7fa2af80.pub$ sudo apt-get update
$ sudo apt-get install libnvinfer5

tensorflow.python.framework.errors_impl.NotFoundError: libnvinfer.so.5: cannot open shared object fi相关推荐

  1. 改正错误:tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: ...

    执行训练的时候,经常出现这种错误: tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: / ...

  2. 成功解决tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: ../checkpoints

    成功解决tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: ../checkpoints ...

  3. 运行SSD-TensorFlow报错:tensorflow.python.framework.errors_impl.NotFoundError:

    玩了很久的 yolo,今天下载了 SSD-TensorFlow 的代码,不过在运行的时候出现了一点问题 官方的介绍是运行:jupyter notebook notebooks/ssd_notebook ...

  4. tensorflow.python.framework.errors_impl.NotFoundError

    问题: tensorflow.python.framework.errors_impl.NotFoundError: /home/wanglei/Program/TensorFlowang/TFFRC ...

  5. 解决tensorflow.python.framework.errors_impl.NotFoundError错误

    问题: 解决:将报错中提示的文件路径文件找到,移除即可 上面提示:D:\Anaconda3\envs\py36\lib\site-packages\tensorflow\contrib\coder\p ...

  6. tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.

    nohup python train_rcnn.py & 进行目标检测模型的训练,绝大部分情况下开始甚至好一段时间都OK, 可是,,,, 训练过程中,有时候训练刚开始,有时候训练经过了几个小时 ...

  7. 解决报错:tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm.

    早上在使用tensorflow时报了下面的错: 2019-04-10 10:19:31.648250: I tensorflow/core/platform/cpu_feature_guard.cc: ...

  8. tensorflow.python.framework.errors_impl.DataLossError:

    tensorflow.python.framework.errors_impl.DataLossError: tensorflow.python.framework.errors_impl.DataL ...

  9. tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm.的一种解决方法

    2021-03-23 使用tensorflow构建卷积神经网络训练时出现这个错误tensorflow.python.framework.errors_impl.UnknownError:  Faile ...

最新文章

  1. springboot-mysql-HikariCP集成
  2. “我想在 CSDN 写小说” 评论亮了 | 每日趣闻
  3. 给演讲增色的10种简单方法
  4. 高中生毕业落榜学计算机,高中毕业落榜了 不想复读怎么办_2019年高考落榜怎么办...
  5. Allegro PCB 如何测量距离?比如走线之间的距离
  6. 怎么让车辆gps定位失效_如何更有效地检测车辆gps定位器?
  7. mysql内置含糊_mySQL入门04 内置函数
  8. 《算法竞赛进阶指南》 0x30 数学知识 数论 题目
  9. monty python读音-PYTHON – 让quot;Monty 语言”进入自动化行业:第 1 部分
  10. 多级队列调度算法可视化界面_多级反馈队列调度算法
  11. 宜宾学院教务系统(金智教务系统)成绩爬虫
  12. 本地项目第一次上传到SmartSvn
  13. Java编程学习指南(带学习经验)
  14. 【ML】从特征分解,奇异值分解到主成分分析
  15. 一个真实的Windows XP SP 3镜像包 571MB大小
  16. 辽宁大连IPv6高校
  17. 弘辽科技:拼多多DSR动态评分有多么的重要
  18. 公司邮箱怎么用微信收邮件?企业微信邮箱原来这么方便!
  19. 因子图优化原理(iSAM、iSAM2论文解析)
  20. 基于深度学习的目标检测算法综述(二)

热门文章

  1. 写一个脚本,判断下如果是阴历7月7日,在服务器上广播“七夕情人节快乐!”...
  2. percona-toolkit 之 【pt-table-checksum】、【pt-table-sync】说明
  3. 【技术贴】安装sql server 2005后不能连接服务器,没有studio express以及安
  4. windowsXPsp3怎样恢复桌面IE图标(非快捷方式)
  5. 用SMTP,POP3访问Exchange邮箱:Exchange2003系列之六
  6. C#3.0 自动属性——只能在简单属性上偷懒
  7. Reflector for .NET
  8. 严重红色警告-虾子+维C=砒霜
  9. Android Notification实现推送消息过程中接受到消息端有声音及震动及亮屏提示
  10. Mysql系列常见面试题