Import tensorflow model on arduino

Hi, I trained a model on Tensorflow and I saved the model in a file with this extension: .pb

Does anyone know how I can convert this file and load it on a Arduino board?

Hi,
see if this link helps.

https://www.arduino.cc/reference/en/libraries/arduino_tensorflowlite/

You seem to have a picture of microcontrollers that microcontrollers are mini-computers running an operating system. It seems that you expect that you upload some kind of "emulator" or if you convert the file-format from *.pb to some other fileformat that things will work.

surely not. On a microcontroller is running absolutely exclusively only one software: The firmware you have uploaded into the tiny and very small flash-memory of the microcontroller.

An Arduino has
0,000000032 GB of flash-memory (32 kB)
0,000000002 GB of RAM-memory ( 2 kB)

So if your *.PB-file has some hundred kB you are forced to use a Raspberry Pi as the minimum to use that *.PB-file that you have created.

best regards Stefan

A typical Arduino cannot do this.
A K210 can probably do it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.