Giter Club home page Giter Club logo

Comments (4)

channingblue avatar channingblue commented on May 24, 2024

看了前面一个issue中的回答是要安装TensorRT的预编译库,我可不可以把这里的 --use TensorRT设置为False?
改成False又试了一下,但报了另一个错:
image

from paddleclas.

channingblue avatar channingblue commented on May 24, 2024

弄好了,修改了 tools/infer/predict.py 中的代码,将原先的data = open(fname).read(),改为了data = open(fname, 'rb').read()。
执行结果如下:
image

最后,还是请大神们帮忙指导一下怎么安装TenserRT的预编译库哈,有没有具体步骤,谢谢!

from paddleclas.

littletomatodonkey avatar littletomatodonkey commented on May 24, 2024

您好,这篇博客里提到了在T4 GPU上安装并编译trt的paddle:https://blog.csdn.net/u012526003/article/details/106168250
您也可以参考这篇官网文档进行编译和安装:https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_guide/inference_deployment/inference/build_and_install_lib_cn.html

from paddleclas.

channingblue avatar channingblue commented on May 24, 2024

谢谢!

from paddleclas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.