Code Monkey home page Code Monkey logo

Comments (10)

NagatoYuki0943 avatar NagatoYuki0943 commented on May 24, 2024 1

image 打印出来的地址是0x7ffbac542c10 然后通过engine创建context的时候,它这个mImpl的地址是0xcccccccccccccccc,这是正常的吗 image

https://blog.csdn.net/weixin_43939593/article/details/103749002 中显示 0xcccccccccccccccc 是未初始化的,不正常,engine到时没问题,context就不清楚为什么创建失败了

from anomalib-tensorrt-cpp.

NagatoYuki0943 avatar NagatoYuki0943 commented on May 24, 2024

我没遇到过这样的问题,就我对tensorrt的了解,engine格式的模型必须要保证使用的显卡,cuda和tensorrt版本相同才行,如果是从别的电脑复制过来的engine模型可能没法用,其他问题我也不是很清楚

from anomalib-tensorrt-cpp.

wuxianjun666 avatar wuxianjun666 commented on May 24, 2024

好的,谢谢博主,我再看看,我用的是trtexec转的权重,然后用的版本和你是一样的8.6.1,我的cuda版本是11.8。我的显卡是RTX3060的,显卡驱动版本是536.23

from anomalib-tensorrt-cpp.

NagatoYuki0943 avatar NagatoYuki0943 commented on May 24, 2024

你可以打印一下 this->engine,看看是不是全为0,如果是的话那就是 engine 都没有生成,载入就失败了

from anomalib-tensorrt-cpp.

wuxianjun666 avatar wuxianjun666 commented on May 24, 2024

image
打印出来的地址是0x7ffbac542c10
然后通过engine创建context的时候,它这个mImpl的地址是0xcccccccccccccccc,这是正常的吗
image

from anomalib-tensorrt-cpp.

wuxianjun666 avatar wuxianjun666 commented on May 24, 2024

我最近在学习部署异常值检测,可以加个联系方式,向你请教一下嘛

from anomalib-tensorrt-cpp.

NagatoYuki0943 avatar NagatoYuki0943 commented on May 24, 2024

我最近在学习部署异常值检测,可以加个联系方式,向你请教一下嘛

其实我不做异常值检测了,现在用的是普通的目标检测模型

from anomalib-tensorrt-cpp.

wuxianjun666 avatar wuxianjun666 commented on May 24, 2024

目标检测我也一直在做,最近开始接触异常值,感觉你对于部署很厉害,想跟你认识一下

from anomalib-tensorrt-cpp.

NagatoYuki0943 avatar NagatoYuki0943 commented on May 24, 2024

部署我写了一个学习的库 https://github.com/NagatoYuki0943/dl-infer-learn ,里面有 python 和 c++ 用各种推理库实现图像分类检测的库,可以用来学习推理框架,不过我也仅仅是跑通了而已,不了解细节,建议先看 python 的,里面可以生成对应的模型

from anomalib-tensorrt-cpp.

wuxianjun666 avatar wuxianjun666 commented on May 24, 2024

好的好的,感谢博主

from anomalib-tensorrt-cpp.

Related Issues (8)

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.