tensorflow / tensorflow/models

How to pass -add_postprocessing_op=true while using tflite_convert in tensorflow2.x

Open
#9,824 1 comment 0 reactions 1 assignee View on GitHub

@srjoglekar246 is already working on this.

Since Mar 26, 2021.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

How we can pass -add_postprocessing_op=true while creating PB file for tflite_convert

python object_detection/export_tflite_ssd_graph.py --pipeline_config_path=pipeline.config --trained_checkpoint_prefix=model.ckpt-4000 --output_directory=saved_model --add_postprocessing_op=true

Above scripts should output two files In saved_model directory: tflite_graph.pb and tflite_graph.pbtxt

Above script i used in tensorflow1.13 if it need to be changed or modify please share the solution, thanks in advance

Regards
Vivek

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.