Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify this Repo to official TensorFlow Object Detection API #459

Open
Petros626 opened this issue Aug 4, 2022 · 0 comments
Open

Clarify this Repo to official TensorFlow Object Detection API #459

Petros626 opened this issue Aug 4, 2022 · 0 comments

Comments

@Petros626
Copy link

Hello folks,

I would like to start a topic explaining questions that some of you have already asked. So far, in the OD API, only SSD model can be converted into a TensorFlow Lite model (according to the authors). These models must be fully quantised. The TF1 Model Zoo already offers quantised models for this, the TF2 Model Zoo does not yet. People have tried to train other models quantised with the "graph_rewriter" in TF1, some failed, others succeeded. For TF2 there is no quantized model and no one has managed to quantise there.

Now I came across this repo and a few others and see that other models can be quantised and converted into a TensorFlow Lite model. As I understand it, we should be able to convert talking trained model into a TensorFlow Lite model using the framework (note not OD API).

The question is:

  1. can any model in an IDE be quantised using the TensorFlow framework and converted into a TensorFlow Lite model.
  2. do I only need the .pb file or the weights of the model to do this.
  3. what is the pipeline for this repo: Train model in IDE -> Save weights or .pb file -> Convert to TensorFlow model (SavedModel or HDF5?) -> Convert to TFLite model
  4. can this approach be used here with a converted TFLite model in the OD API?

I hope for clarifying answers so that beginners, could understand what is possible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant