Hi,
I’m deploying a custom YOLOv8 on Raspberry Pi with Hailo-8L.
I’ve compiled a backbone HEF (no detection head), which runs at 68 FPS.
I have installed hailo_platform via:
hailo-4.24.0-cp310-cp310-linux_aarch64.whl
The HEF has three output vstreams:
yolov8n_backbone/conv39 (80x80x64)
yolov8n_backbone/conv47 (40x40x64)
yolov8n_backbone/conv54 (20x20x64)
I need to read these three uint8 tensors from Python to do post-processing (decoder + NMS).
However, the Python API seems to have changed:
- ConfiguredNetwork no longer has a ‘run()’ method.
- I could not find how to create input/output vstreams and read data.
Could anyone provide a minimal working example of:
- Creating input/output vstreams from a ConfiguredNetwork.
- Writing a uint8 image to the input vstream.
- Reading the three output vstreams as numpy arrays.
My environment:
- HailoRT version: 4.24.0
- Python: 3.10 (conda)
- OS: Raspberry Pi (aarch64)
Thank you very much!