Well,it did turn my onnx to hef ,but there’s a big broblem that I cant add --classes/–calib-set-path \home\jimmy\train in these codes! It will show something like hailo: error: unrecognized arguments: --classes 9/ValueError: Couldn’t detect CalibrationDataType ,so I think the model is still failed.
The error you’re seeing happens because you’re trying to use Model Zoo flags with the Dataflow Compiler CLI. The hailo command doesn’t recognize --classes or --calib-path - those belong to hailomz.
Before we dive in, I’d definitely recommend updating to the latest versions of both hailomz and DFC if you haven’t already.
Hailo Model Zoo (hailomz)
This is probably what you want for your YOLOv5 workflow: