lewes6369 / TensorRT-Yolov3

TensorRT for Yolov3
MIT License
489 stars 165 forks source link

createPReLUPlugin issue #93

Open ynma-hanvo opened 3 years ago

ynma-hanvo commented 3 years ago

can not build , the error is :

/TensorRT-Yolov3/tensorRTWrapper/code/include/PluginFactory.h:20:29: error: ‘nvinfer1::plugin::createPReLUPlugin’ has not been declared .

i check the NvInferPlugin.h file , there is no createPReLUPlugin , but only createLReLUPlugin. even i change to createLReLUPlugin , still the same error as: error: ‘nvinfer1::plugin::createLReLUPlugin’ has not been declared

my tensorrt is 7.2.1.6 , unpack from a zip file.
in the cmake , i set the TENSORRT_ROOT coresspondingly. set(TENSORRT_ROOT {home_DIR}/TensorRT-7.2.1.6)

please help ?