Hi, I want to convert yolov9c or yolov9s model to hef model and I know that for this I have to convert pt model to onnx model first. Also I have installed hailo_dataflow_compiler-3.30.0 and hailo_model_zoo-2.15.0 and I was able to create har model with the following command:
hailo parser onnx ./yolov9c.onnx --end-node-names “Conv_1058” “Conv_1065” “Conv_1088” “Conv_1095” “Conv_1118” “Conv_1125” --hw-arch “hailo8l”
Now I want to know what other commands I should use and how?
I apologize for my repeated question because I could not find a comprehensive and suitable solution.
I recommend using the Hailo AI Software Suite Docker for easy installation.
Next please work trough the built in tutorials. Inside the Docker use the following command to start a Jupyter Notebook server with notebooks for each step of the conversion process.
hailo tutorial
You can also use the ALLS script from the Model Zoo as basis for your model script.
Thank you for your guidance.
Hello,
After parsing and creating the .har file you can run the following 2 commands:
hailo optimize <har-file> --hw-arch <hailo-board> --model-script <.alls-file> --calib-set-path <calibration-dataset>
hailo compiler <optimized-har-file> --hw-arch <hailo-board>
You can run the following command to see the available arguments:
hailo -h