I want to transfer onnx to hex. But can not find Dataflow compiler pakeage downlode address.
Hey @ruige_hf
Currently its open for enterprise users , but We are working on providing DFC for the public as soon as possible.
Regards
So after all the hype and buying your product we just get the chip and a few teasers? How to use your chip for our use case?
Hey @basuroyrohan
The DFC has been released and you can find the guidelines at the developer zone.
https://hailo.ai/developer-zone/software-downloads/
You can create your own model and use case using the DFC.
For examples of use cases please check :
Best Regards
But its only for x86 the arm option is blocked.How will it run on rpi
Another problem is it is only available for Python 3.8, which is almost end of life. Ubuntu 24.04 currently ships with the recommended Python 3.12. Getting this compiler to work is going to be difficult.
Hey @jpm,
The recommendation is to install the DFC inside a virtual environment. This is because we want to maintain support for previous versions of the software, and we will be adding support for newer versions of Python in the future.
Best regards,
Hello @basuroyrohan,
The DFC is only available on x86 machines because it is a compiler used to create models, but it does not actually run the models. On Raspberry Pi devices, we only run the pre-compiled models and use them, we do not use the DFC compiler itself on the RPi.
Best regards,
So if I have my own model in onnx format how do I convert it to the hev format that can run on the hailo?
To use your model with the Hailo platform, you must convert it using the Hailo Dataflow compiler.
The guidelines for how to do this can be found in the Hailo developer documentation: https://hailo.ai/developer-zone/documentation/
You can also check out the following community posts for more information and best practices around using the DFC:
- Dataflow Compiler Best Practice: Dataflow compiler best practice
- Creating Custom HEF Using DFC & Model Zoo: Creating Custom Hef using DFC/Model Zoo
These resources should provide the necessary steps and information to convert your model to the Hailo Executable Format (HEF) using the DFC.
Please let me know if you have any other questions!
I have bought the Raspberry Pi Ai kit
I have played with the assorted examples
I would like to be able to use the DFC but struggle to find the download for Kubuntu/Ubuntu 24.04
How can I download and install the DFC???
From what I have gathered so far,
DFC is a compilation tool, it needs to be ran on a x86 system. You can compile your model into HEF using it then use SCP (or some other file transfer protocol) to move it onto the RPI.
As for using the DFC I am still reading all that I can to figure that out.
I have the DFC running on my WSL version of Ubuntu, I am working on ensuring all dependencies work then I will come back with a shell script that can install it on WSL (likely it will work on pure Ubuntu as well).
But to answer your question, the DFC is a python package, don’t think of it as a “Ubuntu install” rather Ubuntu IS the supported OS for the DFC. So what you install from the software section of the Dev zone should be a .whl (wheel) file, which will work on Ubuntu after it is put into your python env
You mentioned that, but the instance segmentation sample code in your GitHub repository actually imports Python code from the Hailo Model Zoo. To use the Hailo Model Zoo, you need to have DFC installed.
yes you are correct , because of that you install the DFC inside a virtual env and then run the hailo model zoo from inside it .