Calibrator User Manual¶
ONNC calibrator reduces model size while also improving hardware latency with little degradation in model accuracy.
SYNOPSIS¶
calibrator [input] [options …]
DESCRIPTION¶
calibrator reads neural networ models and generates a calibration table
- -o FILE
The output calibration table.
- -pool=FILE
Input sample image pool. The sample image pool is a protocol buffer (pb) file that encapsulating sample images.
- -sample=NUMBER
Use the first NUMBER of images in the pool
- -means=STRING
Mean values for image pre-processing (separated by comma).
- example
-means=0,0,0
- -scales=STRING
Scale values for image pre-processing (separated by comma)
- example
-scales=255,255,255
- --help
Show this manual.