title: How to export frozen_inference_graph.pb from a checkpoint in Tensorflow Objectdetection 2
body: <p>how can I export a trained model to frozen_inference_graph.pb instead of saved_model.pb, because when I use the exporter_main_v2.py that comes with Tensorflow object detection v2 it gives me a folder</p>
  <pre><code>├─ exported-models/
     └─ my_model/ 
        ├─ checkpoint/
        ├─ saved_model/
              └─ assets/
              ├─ variables/
              └─ saved_model.pb
        └─ pipeline.config
  </code></pre>
  <p>and inside the save_model I have saved_model.pb but the issue is that I can't use it alone for inference but I need to use the variable folder that comes with it. that't why I'm asking if theire is a way to export a trained model to frozen_inference_graph.pb to use it for inference without need for variables folderlike in TF1.</p>