TensorRT-YOLOv4
TensorRT-YOLOv4 copied to clipboard
‘createConcatPlugin’ is not a member of ‘nvinfer1::plugin’
@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 hi, tensorrt 7 is currently not supported. I will update the code to support tensorrt 6 and tensorrt 7.
TensorRT-7.0.0.11 is ok
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
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 @CaoWGG How to change the code to support nvidia nx?
@HappyKerry
I have no idea,so far ,I still can not run it on NX correctly.
Hello, Facing same issue. Any update on supporting this on TensorRT 7.1.3? Thanks
same here, any update please.
hi guys, My cuda is 10.0 and tensorRT is 5; I have the same issue, any suggestion for this???