shouxieai / tensorRT_Pro

C++ library based on tensorrt integration
MIT License
2.62k stars 549 forks source link

部署yolov7报错 #158

Open zhangzhongzhong1 opened 2 years ago

zhangzhongzhong1 commented 2 years ago

编译环境根据readme.me文件中的要求配置的 想请教一下如何解决呢? [2022-09-29 15:28:01][error][trt_builder.cpp:30]:NVInfer: 1: [convolutionRunner.cpp::executeConv::458] Error Code 1: Cudnn (CUDNN_STATUS_EXECUTION_FAILED) [2022-09-29 15:28:01][fatal][trt_infer.cpp:356]:execute fail, code 0[cudaSuccess], message no error CMakeFiles/yolov7.dir/build.make:70: recipe for target 'CMakeFiles/yolov7' failed make[3]: [CMakeFiles/yolov7] Aborted (core dumped) CMakeFiles/Makefile2:440: recipe for target 'CMakeFiles/yolov7.dir/all' failed make[2]: [CMakeFiles/yolov7.dir/all] Error 2 CMakeFiles/Makefile2:447: recipe for target 'CMakeFiles/yolov7.dir/rule' failed make[1]: [CMakeFiles/yolov7.dir/rule] Error 2 Makefile:293: recipe for target 'yolov7' failed make: [yolov7] Error 2

shouxieai commented 2 years ago

是否存在cudnn匹配不正确?

zhangzhongzhong1 commented 2 years ago

cudnn用的是8.2.4.15 cuda用的11.4 tensorrt用的是8.0.1.6

qinfendekaizhou commented 1 year ago

没啥错啊,v7和v8我都部署上了