Open aallan opened 2 weeks ago
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.
The Dataflow Compiler can't be installed on Raspberry Pi
May now be coming "soon" ..?
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,
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.