So I have trained my own image enhancement model: zero_dce_model.onnx, I want to convert it to hef. I did the usual: downloaded the compiler from the community page:
Initially I used python 3.8, it was showing some error namely:
ERROR: No matching distribution found for onnxruntime==1.18.0 (from hailo-dataflow-compiler==3.30.0)
Yeah, so as a fix, I went with Python 3.10 and installation went smoothly. When I wanted to conver my onnx to hef, I used the command line:
*** hailomz compile /work/zero_dce_model.onnx --hw-arch hailo8l --calib-path /work/valid/images --classes 0
**
This time, I’m getting a ModuleNotFoundError: No module named ‘apt_pkg’ error.
Any help is appreciated, kindly help me out.