Hello,
I am trying to compile custom b0_segformer.
I manage to create the har file but I am failing in the next step which is the creation of the quantized model:
I am ruuning this commad:
$hailo optimize mapcoresegformer_b0480_848_hailo_model_8.har --use-random-calib-set
…
…
…
File “/home/nuchailo1/anaconda3/envs/hcompiler2/lib/python3.10/site-packages/hailo_model_optimization/acceleras/atomic_ops/matmul_op.py”, line 141, in create_hw_params
raise AccelerasUnsupportedError(
hailo_model_optimization.acceleras.utils.acceleras_exceptions.AccelerasUnsupportedError: layer mapcoresegformer_b0480_848/matmul4 does not support shift delta. To overcome this issue you should force larger range at the inputs of the layer using command quantization_param([layer_name], force_range_in=[range_min, range_max]) current range of input 0 is (0.0005596954, 0.009956909) and input 1 is (-0.5742479, 0.79142684). You should increase the multiplication of these ranges by a factor of 6.4331885529243795
My question - how can I enforce larger range at the inputs of the layer using command quantization_pram as indicated in the error log???
Thanks in advanced
David