Closed wwdok closed 3 years ago
Can anyone give me some tips ?I am new to TensorRT, please give me an idea to debug it, thanks !
@wwdok Most likely the issue is happening during engine build. Can you check the logging output to see where the failure is?
It may help to increase the logging verbosity as well:
TRT_LOGGER = trt.Logger(trt.Logger.VERBOSE)
In addition to adding trt.Logger.VERBOSE
in trt.Logger()
, is there other places that i need to modify ? because just midified this line of code, i found the logging output is still the same as before.
That should be it. Can you share the full logging output?
The full logging output are as the same as above, just 6 lines. You can try it on your computer, you just need to download one of the engines(because three engines all have the same error), like tsn_r50_320p_1x1x8_100e_kinetics400_rgb_20200702-ef80e3d7-1-1-3-320-569, and run the script i provided above, thanks !
Well, it is a careless mistake, the engine_file_path is wrong that lacks of parent directory...
My Environment is : Ubuntu18.04, tensorrt 7.2.1.6, cuda 10.2.89 I encounter this error when i try to inference with tensorrt engine. I encountered this error for all my three engines. These three engine are:
My python code is :
Its output log :