Is there any steps i am missing for optimization:
- I have pretrained ONNX model.
- Using hailo zoo for model optimization and compilation.
- Calibration dataset is coco dataset, as i don’t see documentation for using custom data set.
- I have done batch normalization while training.
Getting below error after optimization.
hailo_model_optimization.acceleras.utils.acceleras_exceptions.NegativeSlopeExponentNonFixable: Quantization failed in layer yolov8n_seg/conv45 due to unsupported required slope. Desired shift is 10.0, but op has only 8 data bits. This error raises when the data or weight range are not balanced. Mostly happens when using random calibration-set/weights, the calibration-set is not normalized properly or batch-normalization was not used during training.