TensorRT-YOLOv4 icon indicating copy to clipboard operation
TensorRT-YOLOv4 copied to clipboard

‘createConcatPlugin’ is not a member of ‘nvinfer1::plugin’

Open Ashing00 opened this issue 4 years ago • 9 comments

@CaoWGG

thank you for your repo. I can run it on PC with rtx2070 and the performance is very good. but I try to build it on Jetson NX with tensorRT 7.1 cuda 10.2 meet below issue.It seems new tensorRT version drop " createConcatPlugin" Do you have any idea to fixed it? ##======================================================================== /home/ashing/TensorRT-YOLOv4/onnx-tensorrt/builtin_plugins.cpp: In function ‘onnx2trt::Plugin* onnx2trt::{anonymous}::_build_ConcatPlugin(const void*, size_t)’: /home/ashing/TensorRT-YOLOv4/onnx-tensorrt/builtin_plugins.cpp:70:27: error: ‘createConcatPlugin’ is not a member of ‘nvinfer1::plugin’ nvinfer1::plugin::create##PluginClass(serialData, serialLength));
^ /home/ashing/TensorRT-YOLOv4/onnx-tensorrt/builtin_plugins.cpp:70:27: note: in definition of macro ‘REGISTER_BUILTIN_NVPLUGIN’ nvinfer1::plugin::create##PluginClass(serialData, serialLength));
^~~~~~ onnx-tensorrt/CMakeFiles/mynvonnxparser_runtime.dir/build.make:110: recipe for target 'onnx-tensorrt/CMakeFiles/mynvonnxparser_runtime.dir/builtin_plugins.cpp.o' failed

Ashing00 avatar May 28 '20 14:05 Ashing00

@Ashing00 hi, tensorrt 7 is currently not supported. I will update the code to support tensorrt 6 and tensorrt 7.

CaoWGG avatar May 28 '20 14:05 CaoWGG

TensorRT-7.0.0.11 is ok

deep-practice avatar May 29 '20 09:05 deep-practice

Hi all,

I am having the same issues... Cuda 10.2 and TensorRT-7.0.0.11

../../lib/libmynvonnxparser_runtime.so: Warnung: undefinierter Verweis auf »nvinfer1::plugin::createConcatPlugin(void const*, unsigned long)« collect2: error: ld returned 1 exit status example/CMakeFiles/buildEngine.dir/build.make:156: recipe for target '../buildEngine' failed make[2]: *** [../buildEngine] Error 1 CMakeFiles/Makefile2:583: recipe for target 'example/CMakeFiles/buildEngine.dir/all' failed make[1]: *** [example/CMakeFiles/buildEngine.dir/all] Error 2 make[1]: *** Auf noch nicht beendete Prozesse wird gewartet … ../../lib/libmynvonnxparser_runtime.so: Warnung: undefinierter Verweis auf »nvinfer1::plugin::createConcatPlugin(void const*, unsigned long)« collect2: error: ld returned 1 exit status example/CMakeFiles/runDet.dir/build.make:156: recipe for target '../runDet' failed make[2]: *** [../runDet] Error 1 CMakeFiles/Makefile2:542: recipe for target 'example/CMakeFiles/runDet.dir/all' failed make[1]: *** [example/CMakeFiles/runDet.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

@deep-practice How did you get it to work with TensorRT-7.0.0.11 if "createConcatPlugin" isn't found?

icklerly avatar Jun 01 '20 12:06 icklerly

@icklerly
In fact,I only meet this error on jetson NX with tensorrt v7.1.0 in my PC with rtx 2070 TensorRT 7.0.0.11 can work well.

Ashing00 avatar Jun 01 '20 13:06 Ashing00

@Ashing00 @CaoWGG How to change the code to support nvidia nx?

HappyKerry avatar Jun 16 '20 03:06 HappyKerry

@HappyKerry

I have no idea,so far ,I still can not run it on NX correctly.

Ashing00 avatar Jun 16 '20 04:06 Ashing00

Hello, Facing same issue. Any update on supporting this on TensorRT 7.1.3? Thanks

aa7817 avatar Aug 05 '20 19:08 aa7817

same here, any update please.

MoaazAbdulrahman avatar Oct 20 '21 15:10 MoaazAbdulrahman

hi guys, My cuda is 10.0 and tensorRT is 5; I have the same issue, any suggestion for this???

BarryLoveBerry avatar May 10 '22 06:05 BarryLoveBerry