I can sanitise it successfully (using polygraphy surgeon). However after trying to convert it to tensorrt engine I get the error:
[12/07/2022-11:59:18] [E] [TRT] ModelImporter.cpp:779: ERROR: builtin_op_importers.cpp:4890 In function importFallbackPluginImporter: [8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"
I was able to locate the error at the F.grid_sample layer. What can I do to fix it please?
Environment
TensorRT Version: 8.5.1 GPU Type: RTX 3080 Nvidia Driver Version: CUDA Version: 11.6 CUDNN Version: Operating System + Version: Win 10 Python Version (if applicable): 3.10.8 TensorFlow Version (if applicable): PyTorch Version (if applicable): 1.12.1 Baremetal or Container (if container which image + tag):
Relevant Files
Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)
Hi,
Request you to share the ONNX model and the script if not shared already so that we can assist you better.
Alongside you can try few things:
validating your model with the below snippet
check_model.py
import sys
import onnx
filename = yourONNXmodel
model = onnx.load(filename)
onnx.checker.check_model(model).
2) Try running your model with trtexec command.
In case you are still facing issue, request you to share the trtexec “”–verbose"" log for further debugging
Thanks!
Yes.
Could you ask please attach a debug tool (usually we can use visual studio “attach process” function, to check all the loaded dlls in an running prcess) and check all the loaded dlls on windows.
We want to make sure TensorRT with the correct version is loaded.
Previous we have seen some Windows users have multiple TRT and load the old library.