I’m having trouble finding any documentation or resources on how to generate an int8 calibration table. The best thing I can find is from this thread (https://devtalk.nvidia.com/default/topic/1057147/tensorrt/tensorrt-yolo-int8-on-gtx-1080ti) where it’s stated that
With the new EntropyCalibrator2, I believe you'll have to generate a new calibration table (for the same reason the code initially failed). You can do that by providing paths to your own images for calibration as mentioned here: https://github.com/NVIDIA-AI-IOT/deepstream_reference_apps/tree/master/yolo#note (bullet point #1)
However, that link no longer works because Yolo support has been rolled directly into Deepstream. Looking back at a previous branch shows that bullet point #1 says:
“If you want to generate your own calibration table, use the calibration_images.txt file to list of images to be used for calibration and delete the default calibration table.”
But this is not helpful as it doesn’t indicate where/how the calibration_image.txt should be passed, and even so, this documentation (and trt-yolo-app) is outdated.
Basically, my question is: what is the current, up to date, supported method to generate a calibration file for yolo using Deepstream SDK 4 and are there any resources that detail the process and data required to do so?