Object detection using coral TPu

11 vues (au cours des 30 derniers jours)
ahmad
ahmad le 30 Mar 2024
Can matlab support coral TPu. I want to detect object using coral screenshot attached. I trained faster rccn on matlab can I used it in Coral TPu to detect object.if possible than how?

Réponses (1)

Shubham
Shubham le 31 Mar 2024
Hey Ahmad,
As per my understanding, coral TPU only supports "TensorFlow Lite" models. Since you have already trained a "Faster R-CNN" model in MATLAB, export your model along with weights and architecture. Please refer to the following documentation for exporting a deep neural network to "TensorFlow":
You may also refer to the File Exchange submission by MathWorks for converting a network or a layergraph as a "TensorFlow" model:
Convert the "TensorFlow" model into "TensorFlow Lite" using "TensorFlow Lite" Converter and compile it using "Edge TCU compiler".
After that you can call python in MATLAB using "pyrun" function:
You can also import the "TensorFlow Lite" model in MATLAB using "loadTFLiteModel": https://www.mathworks.com/help/deeplearning/ref/loadtflitemodel.html
You may also use the Interface for the "TensorFlow Lite" by MathWorks as provided on the File Exchange:
I hope this helps!

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by