Skip to content

Exporting tflite model for tensorflow lite TPU #67

@zlg9folira

Description

@zlg9folira

Has a TFLite model ever been exported for the TF model in this repo? If there is one, can you upload it or a step-by-step guide is appreciated.

I run TF2.1.0 Python3.7 Linux and am trying to export one using
python3 export_tflite_ssd_graph.py --pipeline_config_path=/PATH_TO/pipeline.config --trained_checkpoint_prefix=/PATH_TO/model.ckpt.data-00000-of-00001 --output_directory=/my_tflite --add_postprocessing_op=true

and get error
File "../.local/lib/python3.7/site-packages/tensorflow_core/python/ops/array_ops.py", line 2715, in placeholder raise RuntimeError("tf.placeholder() is not compatible with " RuntimeError: tf.placeholder() is not compatible with eager execution.

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