Hi,
I’ve spent a long time trying and failing to get any Tensorflow examples running on a combination of the Machine Learning Micromod carrier board and the Artemis Micromod processor and was looking for some help or advice.
I started off trying the Arduino library: https://github.com/tensorflow/tflite-mi … o-examples but the examples in that didnt work.
I then tried the examples from the sparkfun repo: https://github.com/sparkfun/Tensorflow_AIOT2019 but no luck.
Also no luck with https://github.com/advaitjain/tflite-mi … e-examples,
or the examples from https://github.com/tensorflow/tflite-micro,
and even tried an old version of https://github.com/tensorflow/tensorflow when the micro examples were still in that repo but no luck.
I tried substituting the different tensorflow sub-folders from the above repos into the Arduino library instead of the one it included, and then tested with all the combinations of example code and tensorflow versions but nothing seemed to work.
The most common errors were:
unsupported board
flatbuffers/flatbuffers.h not found
and then lots of other errors that were most commonly “file not found” errors for dependencies or functions names being redefined in different places. Where possible i found the file and moved it to the expected location or changed the path, and renamed functions but generally fixing a chain of errors would just result in finding one that couldn’t be fixed without in-depth knowledge of the whole tensorflow ecosystem.
Given that using the Arduino IDE seemed to not be working, i then tried following this tutorial: https://codelabs.developers.google.com/ … sorflow/#5
which seemed to work with the older version of https://github.com/tensorflow/tensorflow i’d checked out. (although It should be updated for the new tflite-micro repo)
However when it came to it i was unable to flash the board from my computer (Mac running Big Sur 11.5.2). I had followed the steps to install the drivers, so i removed them and then tried, and reinstalled and tried again but with no luck. Each time also trying with the Arduino IDE to flash the board with the Ambiq BootLoader (SBL), from the terminal i would get a no_response error and from the IDE just got “Tries = 3, Upload failed” each time.
Any help or suggestions would be much appriciated.