ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

How to extract data from tflite models ?

Open WenguoLi opened this issue 8 years ago • 3 comments

How to extract data from tflite models ?
So far, the script "tensorflow_data_extractor.py" only is applied to checkpoint of tensorflow models, Whether is there a plan to extract data from the ".pb" or ".tflite" model ? Is the data of the mobilenet_qasymm8 model extracted from ".tflite" model ? Can you provide your script ? Thanks!

WenguoLi avatar Apr 12 '18 03:04 WenguoLi

We don't currently have any python script to these models, however you might want to have a look at ArmNN, it sits on top of the ComputeLibrary and has some parsers for Caffe and TensorFlow file formats. I'm going to mark this issue as "Help Wanted" in case someone wants to contribute a python script.

AnthonyBarbier avatar Apr 12 '18 12:04 AnthonyBarbier

Closing for inactivity, feel free to reopen otherwise

ManubARM avatar Feb 11 '19 15:02 ManubARM

Hi @WenguoLi Closing this for inactivity. As @AnthonyARM said, I'd suggest looking into ArmNN's parser: https://github.com/ARM-software/armnn/tree/branches/armnn_19_02/src/armnnTfLiteParser

morgolock avatar Apr 25 '19 10:04 morgolock