How to create calib file for object detetion with using images?

I’m looking for a method of INT8 quantization using trtexec.
The model targeted for quantization is an object detection model, such as YOLO at the following URL.
I’m thinking of creating a dataset for calibration, but how do I create a calibration file?
Can this be achieved using trtexec? If that doesn’t happen, is there another way?

URL: GitHub - onnx/models: A collection of pre-trained, state-of-the-art models in the ONNX format

Hi,

Please check our Polygraphy example for more information:

Thanks.