Skip to content

Commit

Permalink
Merge pull request tensorflow#4147 - update exporting_models doc
Browse files Browse the repository at this point in the history
Object detection export dir
  • Loading branch information
pkulzc authored May 11, 2018
2 parents c0a380d + a422016 commit 28b9142
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions research/object_detection/g3doc/exporting_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
After your model has been trained, you should export it to a Tensorflow
graph proto. A checkpoint will typically consist of three files:

* model.ckpt-${CHECKPOINT_NUMBER}.data-00000-of-00001,
* model.ckpt-${CHECKPOINT_NUMBER}.data-00000-of-00001
* model.ckpt-${CHECKPOINT_NUMBER}.index
* model.ckpt-${CHECKPOINT_NUMBER}.meta

Expand All @@ -16,7 +16,12 @@ python object_detection/export_inference_graph.py \
--input_type image_tensor \
--pipeline_config_path ${PIPELINE_CONFIG_PATH} \
--trained_checkpoint_prefix ${TRAIN_PATH} \
--output_directory output_inference_graph.pb
--output_directory ${EXPORT_DIR}
```

Afterwards, you should see a graph named output_inference_graph.pb.
Afterwards, you should see the directory ${EXPORT_DIR} containing the following:

* output_inference_graph.pb, the frozen graph format of the exported model
* saved_model/, a directory containing the saved model format of the exported model
* model.ckpt.*, the model checkpoints used for exporting
* checkpoint, a file specifying to restore included checkpoint files

0 comments on commit 28b9142

Please sign in to comment.