Search code examples
tensorflowgoogle-coral

How to run tensorflow model on Coral CPU


Is it possible at all to run Tensorflow model not on Edge-TPU but on Coral's CPU?
Is it possible to build Tensorflow for Mendel OS?

I have the model that couldn't be converted by edge compiler.


Solution

  • Any model that is not Edge TPU compatible will run on the CPU by default. From the TensorFlow on Edge TPU >Model Requirements docs:

    If your model does not meet these requirements entirely, it can still compile, but only a portion of the model will execute on the Edge TPU. At the first point in the model graph where an unsupported operation occurs, the compiler partitions the graph into two parts. The first part of the graph that contains only supported operations is compiled into a custom operation that executes on the Edge TPU, and everything else executes on the CPU

    Were you able to convert your model to TFLite?