Hi, i have implemented custom plugin for Tile operator, but when i try to generate tensorrt model (my model is using onnx). i got following error
[01-06-2023 23:59:21] (Unnamed Layer* 30) [Slice]: the start input tensors must be specified if any dynamic tensor is specified.
[01-06-2023 23:59:21] ModelImporter.cpp:140: No importer registered for op: Tile. Attempting to import as plugin.
While parsing node number 16 [Tile]:
ERROR: builtin_op_importers.cpp:2193 In function importFallbackPluginImporter:
[8] Assertion failed: creator && “Plugin not found”
[01-06-2023 23:59:21] Releasing Driveworks SDK Context
Error: DW_FILE_INVALID: DNNGenerator: Unable to parse ONNX model.
The .so file is in same folder as tensorrt_optimization tools
and the plugin.json is like this
{
“libdnn_tile_plugin.so” : [“Tile”]
}
what is wrong?
Please provide the following info (check/uncheck the boxes after creating this topic): Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
I tried /usr/src/tensorrt/bin/trtexec --explicitBatch --onnx=pfe_baseline32000.onnx --saveEngine=pfe_baseline32000.trt
And shows the same output
[06/03/2023-10:09:37] [E] [TRT] (Unnamed Layer* 30) [Slice]: the start input tensors must be specified if any dynamic tensor is specified.
[06/03/2023-10:09:37] [W] [TRT] ModelImporter.cpp:140: No importer registered for op: Tile. Attempting to import as plugin.
[06/03/2023-10:09:37] [I] [TRT] builtin_op_importers.cpp:2191: Searching for plugin: Tile, plugin_version: 1, plugin_namespace:
While parsing node number 16 [Tile]:
ERROR: builtin_op_importers.cpp:2193 In function importFallbackPluginImporter:
[8] Assertion failed: creator && "Plugin not found"
[06/03/2023-10:09:37] [E] Failed to parse onnx file
[06/03/2023-10:09:37] [E] Parsing model failed
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to create object
Aborted (core dumped)
I think it is expected ya.
Please help how to import the custom plugin on Driveworks, thank you
No, i don’t make any changes on builtin_op_importers.cpp
I just follow Driveworks documentation. Im just wondering,there is slight different implementation for Driveworks custom plugin and tensorrt plugin right?
I am able to created plugin and loaded it in tensorRt, but in Driveworks, it doesn’t works.
I know in Driveworks documentation in building custom plugin like poolPlugin dnn example, it doesnt have creator class like in common TensorRT. The creation part in driveworks custom plugin is from this part?
I’ve watched the video, but it is for TensorRT itself, not driveworks4.0
For me tensorRt docs is fine, i can follow along. But for driveworks4.0, i have problem