Hi! I tried to convert my .onnx(trained by yolov5) to .hef to use my hilo8l AI HAT for my project,I have followed many guides and fixed lots of problems.In the third try ,I followed this video Raspberry Pi AI Kit - Custom YOLOV8 Object Detection #raspberrypi #ai,using same DFC(3.28.0) and modelzoo(2.12.0),even fixed the yolov5s.yaml by using netron For Hailo Software - General - Hailo Community,but when I used hailomz compile yolov5s --ckpt=cybest.onnx --hw-arch hailo8l --calib-path train/images --classes 9 --performance it will show FileNotFoundError: no alls found for requested hw_arch , so I tried the other way that Hailo suggest,using parser/optimize/compiler method Getting the error: Exception: Encountered error during parsing: ‘config_values’ - General - Hailo Community.These are the code I used
hailo parser onnx cybest.onnx
hailo optimize cybest.har --use-random-calib-set
hailo compiler cybest_optimized.har --hw-arch hailo8l
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.
pls someone help,I have stuck for days!!!