出现错误 getPluginCreator could not find plugin:
Opened this issue · 0 comments
hitbuyi commented
ubuntu20.04
trt8.0.1.6
如下所示
[10/02/2022-14:40:17] [V] [TRT] LeakyRelu_2 [Custom] inputs: [40 -> (1, 64, 1024)[FLOAT]],
[10/02/2022-14:40:17] [I] [TRT] No importer registered for op: Custom. Attempting to import as plugin.
[10/02/2022-14:40:17] [I] [TRT] Searching for plugin: Custom, plugin_version: 1, plugin_namespace:
[10/02/2022-14:40:17] [E] [TRT] 3: getPluginCreator could not find plugin: Custom version: 1
[10/02/2022-14:40:17] [E] [TRT] ModelImporter.cpp:720: While parsing node number 2 [Custom -> "41"]:
[10/02/2022-14:40:17] [E] [TRT] ModelImporter.cpp:721: --- Begin node ---
[10/02/2022-14:40:17] [E] [TRT] ModelImporter.cpp:722: input: "40"
output: "41"
name: "LeakyRelu_2"
op_type: "Custom"
attribute {
name: "alpha"
f: 0.2
type: FLOAT
}
[10/02/2022-14:40:17] [E] [TRT] ModelImporter.cpp:723: --- End node ---
[10/02/2022-14:40:17] [E] [TRT] ModelImporter.cpp:726: ERROR: builtin_op_importers.cpp:4643 In function importFallbackPluginImporter:
[8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"
[10/02/2022-14:40:17] [E] Failed to parse onnx file
[10/02/2022-14:40:17] [I] Finish parsing network model
[10/02/2022-14:40:17] [E] Parsing model failed
[10/02/2022-14:40:17] [E] Engine creation failed
[10/02/2022-14:40:17] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8001] # ./trtexec --onnx=custom.onnx --saveEngine=custom.trt --verbose
不知道是什么原因,具体一点的描述见这里