Object detection using coral TPu
11 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Shubham
on 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!
0 Comments
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!