Comments (2)
关于第一个疑问,你的理解是对的;速度有提升是因为做了int8量化,以及对tensorrt的推理做了封装(把加载引擎,分配输入输出显存,释放显存,输入数据从内存拷贝到显存,输出数据从显存拷贝到内存封装为.so文件),精度有提升是因为改变了网络结构,把原始模型的maxpooling替换为卷积,把PAN层的上采样及下采样分别替换为反卷积和卷积。
from nanodet_tensorrt_int8.
关于第一个疑问,你的理解是对的;速度有提升是因为做了int8量化,以及对tensorrt的推理做了封装(把加载引擎,分配输入输出显存,释放显存,输入数据从内存拷贝到显存,输出数据从显存拷贝到内存封装为.so文件),精度有提升是因为改变了网络结构,把原始模型的maxpooling替换为卷积,把PAN层的上采样及下采样分别替换为反卷积和卷积。
感谢题主的解析! 题主有尝试过用现在这个框架(nanodet_tensorrt_int8 工程和 LibMyTtrEngine-trt721.so工程)做图像语义分割么? 也就是pth ->onnx -> trt, 输入1x3xHxW, 调用LibMyTtrEngine-trt721,用nanodet_tensorrt_int8工程得到1x1xHxW输出 ?
如果方便的话,题主能否留一下联系方式,有TRT相关的问题想跟题主请教一下?
from nanodet_tensorrt_int8.
Related Issues (6)
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 nanodet_tensorrt_int8.