Comments (10)
打印出来的地址是0x7ffbac542c10 然后通过engine创建context的时候,它这个mImpl的地址是0xcccccccccccccccc,这是正常的吗
https://blog.csdn.net/weixin_43939593/article/details/103749002 中显示 0xcccccccccccccccc 是未初始化的,不正常,engine到时没问题,context就不清楚为什么创建失败了
from anomalib-tensorrt-cpp.
我没遇到过这样的问题,就我对tensorrt的了解,engine格式的模型必须要保证使用的显卡,cuda和tensorrt版本相同才行,如果是从别的电脑复制过来的engine模型可能没法用,其他问题我也不是很清楚
from anomalib-tensorrt-cpp.
好的,谢谢博主,我再看看,我用的是trtexec转的权重,然后用的版本和你是一样的8.6.1,我的cuda版本是11.8。我的显卡是RTX3060的,显卡驱动版本是536.23
from anomalib-tensorrt-cpp.
你可以打印一下 this->engine
,看看是不是全为0,如果是的话那就是 engine 都没有生成,载入就失败了
from anomalib-tensorrt-cpp.
打印出来的地址是0x7ffbac542c10
然后通过engine创建context的时候,它这个mImpl的地址是0xcccccccccccccccc,这是正常的吗
from anomalib-tensorrt-cpp.
我最近在学习部署异常值检测,可以加个联系方式,向你请教一下嘛
from anomalib-tensorrt-cpp.
我最近在学习部署异常值检测,可以加个联系方式,向你请教一下嘛
其实我不做异常值检测了,现在用的是普通的目标检测模型
from anomalib-tensorrt-cpp.
目标检测我也一直在做,最近开始接触异常值,感觉你对于部署很厉害,想跟你认识一下
from anomalib-tensorrt-cpp.
部署我写了一个学习的库 https://github.com/NagatoYuki0943/dl-infer-learn ,里面有 python 和 c++ 用各种推理库实现图像分类检测的库,可以用来学习推理框架,不过我也仅仅是跑通了而已,不了解细节,建议先看 python 的,里面可以生成对应的模型
from anomalib-tensorrt-cpp.
好的好的,感谢博主
from anomalib-tensorrt-cpp.
Related Issues (8)
- 请问使用动态batch该怎么修改代码呀? HOT 22
- 大佬请问我导出的onnx在转engine的时候报reshape的错误,请问有遇到过么 HOT 4
- 请问要是推理单通道的灰度图要怎么改? HOT 4
- patcore 模型结果异常 HOT 2
- 请问efficient_ad模型推理速度为什么那么慢呢 HOT 6
- vs2022 加载model.engine模型,出现溢出 HOT 37
- context 多线程部署
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anomalib-tensorrt-cpp.