But while inferencing I am not able to see any results. I am not sure if I need to change the code in int8 calibration or not but I think it should be common. Right ? Not sure.
I am currently using the following environment.
Using ubuntu 18.04
Onnx 1.4.1
Cuda 10.1
TensorRT 6.0.1
Please review/revise the image preprocess function. You need to make sure it does "exactly how you'd preprocess the image before you feed it to the TensorRT engine".
You might be interested in the following repository for face detection.
https://github.com/YonghaoHe/LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices/tree/master/face_detection
I am trying to use your int8 calibration code for the above repository and not able to get any results.
Steps:
https://github.com/YonghaoHe/LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices/blob/master/face_detection/deploy_tensorrt/predict_tensorrt.py
I am currently using the following environment. Using ubuntu 18.04 Onnx 1.4.1 Cuda 10.1 TensorRT 6.0.1