Yibin122
What issue did you encounter when building engine? Are you using TensorRT 8.0+?
It seems your TensorRT path is not correctly set in the inference step.