Dear nvidia expert,
I encountered a problem, which need your help.
I have trained a Chinese vehicle plate OCR recognition CNN network.
I tested the trained model via caffe with a picture named test.jpg, and got the expected OCR result, just as attached caffe_result.png shows.
Then I converted caffe model to tensorrt float32 engine and tested the converted engine via tensorrt C++ inference API. Unfortunately the OCR result is wrong(Please refer to attached trt_result.png). It seems that the tensorrt result always miss the first or the last character.
I attached the caffemodel, prototxt, converted tensorrt engine, and tensorrt / caffe inference test codes. Please help me to fix this problem.
Besides, my env is listed below:
OS: Ubuntu 16.04
cuda driver: 418.39
GPU card: tesla T4
tensorrt: 5.1.2.1+cuda10.1
cudnn: 7.5
cuda: 10.1
caffe: 1.1.0
newlp_attach.7z (15.4 MB)