模型部署+目标检测YOLOv5+tensorrt加速 - int8量化

上传者: yohnyang | 上传时间: 2023-04-20 20:52:45 | 文件大小: 9.62MB | 文件类型: RAR
由于C++语言的运行优势,多数算法模型在实际应用时需要部署到C++环境下运行,以提高算法速度和稳定性 本文主要讲述WIn10下在VS工程中通过Opencv部署yolov5模型,步骤包括: 1.python环境下通过export.py导出.onnx模型 2.C++环境下通过tensorrt进行模型导入和调用,过程中实现int8量化加速 适合刚开始部署模型的小白或者研究者,内附教程

文件下载

资源详情

[{"title":"( 53 个子文件 9.62MB ) 模型部署+目标检测YOLOv5+tensorrt加速 - int8量化","children":[{"title":"yolov5_tensorrt_int8","children":[{"title":"include","children":[{"title":"my_common.h <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"my_interface.h <span style='color:#111;'> 858B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"test_imgs","children":[{"title":"2bb75da9-331a-3d4f-96d0-5817ae6aed80.jpg <span style='color:#111;'> 359.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"yolov5s_infer.cc <span style='color:#111;'> 16.37KB </span>","children":null,"spread":false},{"title":"trt_engine_lib","children":[{"title":"libMyTtrEngine-trt721.so <span style='color:#111;'> 849.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"yolov5s-4.0-int8-relu.trt <span style='color:#111;'> 9.24MB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"Yolov5_Tensorrt_Win10","children":[{"title":"include","children":[{"title":"dirent.h <span style='color:#111;'> 23.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"macros.h <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"CMakeLists_linux.txt <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"pictures","children":[{"title":"zidane.jpg <span style='color:#111;'> 164.99KB </span>","children":null,"spread":false},{"title":"bus.jpg <span style='color:#111;'> 476.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"yolov5.cpp <span style='color:#111;'> 26.41KB </span>","children":null,"spread":false},{"title":"preprocess.h <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"cuda_utils.h <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"10.png <span style='color:#111;'> 15.22KB </span>","children":null,"spread":false},{"title":"9.png <span style='color:#111;'> 133.75KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 113.46KB </span>","children":null,"spread":false},{"title":"13.jpg <span style='color:#111;'> 478.36KB </span>","children":null,"spread":false},{"title":"14.jpg <span style='color:#111;'> 240.61KB </span>","children":null,"spread":false},{"title":"12.png <span style='color:#111;'> 42.54KB </span>","children":null,"spread":false},{"title":"15.png <span style='color:#111;'> 61.38KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 77.51KB </span>","children":null,"spread":false},{"title":"11.png <span style='color:#111;'> 23.75KB </span>","children":null,"spread":false},{"title":"6.png <span style='color:#111;'> 14.83KB </span>","children":null,"spread":false},{"title":"5.png <span style='color:#111;'> 24.01KB </span>","children":null,"spread":false},{"title":"4.png <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"8.png <span style='color:#111;'> 133.88KB </span>","children":null,"spread":false},{"title":"17.png <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"16.png <span style='color:#111;'> 30.70KB </span>","children":null,"spread":false},{"title":"7.png <span style='color:#111;'> 54.62KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 56.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"preprocess.cu <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"samples <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"logging.h <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"Yolov5_Tensorrt_Win10.iml <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":false},{"title":"modules.xml <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 50B </span>","children":null,"spread":false}],"spread":true},{"title":"yololayer.h <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"common.hpp <span style='color:#111;'> 14.32KB </span>","children":null,"spread":false},{"title":"yololayer.cu <span style='color:#111;'> 11.91KB </span>","children":null,"spread":false},{"title":"gen_wts.py <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"calibrator.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"python_trt.py <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"calibrator.cpp <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.17KB </span>","children":null,"spread":false},{"title":"utils.h <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明