Using the hailo optimize command, I notice these logs
[info] Using default optimization level of 2
[info] Using default compression level of 1
[info] Model received quantization params from the hn
[info] Notice: For optimal performance, if your model has more than 10M parameters, it is recommended to set the compression level to 4. (Current model has 36.91M parameters.)
[info] Notice: For optimal accuracy with compressed models, it is recommended to set the optimization level to 4.
But the command doesn’t provide any way to change these values. Will the next version of the command provides such parameters ?
Both values are set in the model script (*.alls). Please review the Hailo Dataflow Compiler User Guide section 4.3.4. Advanced Optimization - Compression and Optimization Levels
If you have not done so already, I recommend working trough the built-in tutorials in the Hailo AI Software Suite Docker.
hailo tutorial
This will start a Jupyter Notebook server with notebooks for each step of the model conversion process. It also shows how to create an alls script.
In the Hailo Model Zoo you can also find example scripts for all models in the Model Zoo.