# TensorRT Deformable Detr (Python)
<a href="https://996.icu"><img src="https://img.shields.io/badge/link-996.icu-red.svg" alt="996.icu" /></a>
TensorRT for Deformable Detr(use python)
## Test enviroments
TensorRT 8.4.1.5
Ubuntu 18.04
mmdetection 2.24.1
polygraphy(TensorRT Tool)
## A quick demo
### 1. Convert deformable detr model form pytorch to onnx
python3 onnx_deformable_detr.py --config ${mmdet_path}/configs/deformable_detr/deformable_detr_twostage_refine_r50_16x2_50e_coco.py --checkpoint ${mmdet_path}/work_dirs/deformable_detr_twostage_refine_r50_16x2_50e_coco_20210419_220613-9d28ab72.pth --output deformable_detr.onnx --h 750 --w 1333
### 2.Genrate TensorRT engine
polygraphy convert deformable_detr.onnx --workspace 8G -o deformable_detr_fp32.engine
### 3.Inference
python3 demo.py --engine deformable_detr_fp32.engine --thresh 0.3 --img ${your_picture_path} --output result.jpg
## Inference performance(only inference time in GPU)
GPU|Model|Mode|Inference time
:--: | :--: | :--: | :--: |
3090 | deformable_detr_twostage_refine_r50_16x2_50e_coco | fp32 | 35ms
3090 | deformable_detr_twostage_refine_r50_16x2_50e_coco | fp16 | 17ms
<center><img src="./data/result.jpg" width="500px"></img></center>
没有合适的资源?快使用搜索试试~ 我知道了~
使用TensorRT部署Deformable-DERT目标检测算法源码.zip
共5个文件
py:2个
txt:1个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 192 浏览量
2024-05-15
09:24:58
上传
评论
收藏 194KB ZIP 举报
温馨提示
使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip使用TensorRT部署Deformable-DERT目标检测算法源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
使用TensorRT部署Deformable-DERT目标检测算法源码.zip (5个子文件)
code
data
result.jpg 185KB
onnx_deformable_detr.py 22KB
requirements.txt 72B
demo.py 7KB
README.md 1KB
共 5 条
- 1
资源评论
FL1768317420
- 粉丝: 4661
- 资源: 4831
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功