the Tensor-RT version used is 8.0.1.6 Win10, CUDA 11.1.1, cudnn v8.2, I generate engine file as following
.\trtexec --onnx=lanenet_free_graphy.onnx --saveEngine=lanenet_trt8.0.1.6.engine --verbose
the first time, the size of lanenet_trt8.0.1.6.engine is 9.991KB
the second time, the size of lanenet_trt8.0.1.6.engine is 9.962KB
the third time, the size of lanenet_trt8.0.1.6.engine is 10434KB
It seems that the size of engine file fluctuates around 10KB,not a fixed number,why?
Thanks in advance.
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!