Hi, I.m trying to apply a mobilenetv2 onnx model and use int8 calibrator to get an int8 engine.
Meanwhile,because I would like to use a dynamic batch input shape, I create a new IBuilderConfig and build engine by "builder.build_engine(network,config)".
But the results show that codes had not excuted the int calibrator.
The function that I used to build engine is as following

Hi, I.m trying to apply a mobilenetv2 onnx model and use int8 calibrator to get an int8 engine.

Meanwhile,because I would like to use a dynamic batch input shape, I create a new IBuilderConfig and build engine by "builder.build_engine(network,config)".
But the results show that codes had not excuted the int calibrator.
The function that I used to build engine is as following