1 Star 0 Fork 0

sdboy/tensorrtx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

CenterNet

This is the trt implementation of detection model ctdet_coco_dla_2x from xingyizhou/CenterNet official work.

How to Run

  1. Follow NVIDIA/TensorRT tutorial to build TensorRT7

  2. Copy folder dcnv2Plugin to TensorRT/plugin and edit InferPlugin.cpp and CMakeLists.txt

  3. Rebuild to install custom plugin

  4. Use tensorrt-7.2.3.4-cp36-none-linux_x86_64.whl in TensorRT OSS to update your python-tensorrt

  5. Run python centernet.py -m ${PTH_PATH} -s to create trt engine

Sample

// Download ctdet_coco_dla_2x.pth and transfer it into trt engine first
// Download the test img from https://raw.githubusercontent.com/tensorflow/models/master/research/deeplab/g3doc/img/image2.jpg or choose your own one
cd sample
python test.py ${ENGINE_PATH} ${IMG_PATH}

trt_out

TODO

Integrate the post process with trt engine to make it more easier to use.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/sdboy/tensorrtx.git
git@gitee.com:sdboy/tensorrtx.git
sdboy
tensorrtx
tensorrtx
master

搜索帮助