TensorFlow package for Cortex-M4 and Cortex-M7 CPUs with hardware floating point.
-
Clone this repo recursively:
git clone --recursive https://github.com/openmv/tensorflow-lib.git
-
Run these commands:
sudo apt-get remove gcc-arm-none-eabi sudo apt-get autoremove sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa sudo apt-get update sudo apt-get install gcc-arm-embedded sudo apt-get install libc6-i386
-
In
/
, do:./make.py
You can find libtf pre-built in the libtf folder for the cortex-m4 and cortex-m7.