Hye, I need a clarification on running .har file on raspberry pi is that possible, this is because im having several model running on onnx but for benchmark test i want to test it on .har aswell. Hope to get response soon
HAR files are Hailo Archive format that contain the files created during model conversion. You can not execute this file on the Hailo directly. You can inspect the content by running the following command
hailo har info model.har
The command will give you one of the states of the model as well as the content of the archive.
- Hailo Model (after parsing the model)
- Quantized Model
- Compiled Model
When you have a compiled model you can extract the HEF Hailo Executable File by running the following command
hailo har extract --hef-path model.hef model.har
If you just want to measure FPS or PCIe bandwidth you can use the HailoRT CLI to run the model HEF file without an application.
hailortcli run model.hef
For more options use --help
.
You can also rename the HAR file to tar.gz to view and extract the content using the GUI.
Let me rephrase my question, is that can i infer .har file format on raspberry pi CPU since we can infer .har file natively or quantized on cpu but it was on ubuntu. Is that possible to infer .HAR of raspberry pi cpu.
Yes, you can execute the model in the Hailo Dataflow Compiler emulator. However the emulator does not run on the Raspberry Pi.