Skip to content

Adding support for Hailo #2

@aallan

Description

@aallan

To setup a Hailo environment with TensorFlow we'd need to clone the Hailo examples repository, set up the Hailo environment — this creates the virtual environment, and exports the TAPPAS post processing directory. Then,

pip install -r Repos/hailo-rpi5-examples/requirements.txt

pip install numpy==1.26.2 
pip install keras_applications==1.0.8 --no-deps 
pip install keras_preprocessing==1.1.2 --no-deps 
pip install h5py==3.10.0 
pip install pybind11==2.9.2 
pip install packaging 
pip install protobuf==3.20.3 
pip install six wheel mock gdown 
pip install opencv-python
TFVER=2.15.0.post1
PYVER=311
ARCH=`python -c 'import platform; print(platform.machine())'`
pip install --no-cache-dir https://github.com/PINTO0309/Tensorflow-bin/releases/download/v${TFVER}/tensorflow-${TFVER}-cp${PYVER}-none-linux_${ARCH}.whl

Then we need to write a script to run the Dataflow Compiler to convert our TensorFlow models to HEF format, so it can be used by the Hailo module.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions