Skip to content

Does cppflow::model has support for Tensorflow Lite models ?  #238

Open

Description

@bmiftah
No description provided.

Activity

  1. bmiftah commented on Feb 15, 2023

    @bmiftah
    Author

    I tested cppflow , to load and infer model saved as savedModel . Model loading and prediction time to be slower - taking up to 4 seconds. I try some way to optimize it and I came across the idea of converting the model in to a Tensorflow Lite model which is an optimized FlatBuffer format identified by the .tflite file extension). The conversion can be done following the method from the offical tensorflow page. My issue here is :- I wonder if such model has support in cppflow::model , can it be loaded and infered from? or Is there any tip to get a better speed in inference time , such as the possibility of freezing the model ? any help is very much appreciated !

  2. changed the title [-]Does cppflow::model has support for Tensorflow Lite models ? (an optimized FlatBuffer format identified by the .tflite file extension))[/-] [+]Does cppflow::model has support for Tensorflow Lite models ? [/+] on Feb 16, 2023
  3. Norhanelocla commented on Jun 8, 2023

    @Norhanelocla

    did you know the answer please?

  4. bmiftah commented on Jun 9, 2023

    @bmiftah
    Author

    Hi, as you can see above, I didnt get reply for that issue. I still don't know how to use Lite model in cppflow( perhaps there could be effort towards this , but I don't know any yet). So , I go ahead with using frozen model. In the process , I followed some suggestion given here to solve some problems that came up during loading frozen model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions