Skip to content

Commit 28b9142

Browse files
authored
Merge pull request tensorflow#4147 - update exporting_models doc
Object detection export dir
2 parents c0a380d + a422016 commit 28b9142

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

research/object_detection/g3doc/exporting_models.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
After your model has been trained, you should export it to a Tensorflow
44
graph proto. A checkpoint will typically consist of three files:
55

6-
* model.ckpt-${CHECKPOINT_NUMBER}.data-00000-of-00001,
6+
* model.ckpt-${CHECKPOINT_NUMBER}.data-00000-of-00001
77
* model.ckpt-${CHECKPOINT_NUMBER}.index
88
* model.ckpt-${CHECKPOINT_NUMBER}.meta
99

@@ -16,7 +16,12 @@ python object_detection/export_inference_graph.py \
1616
--input_type image_tensor \
1717
--pipeline_config_path ${PIPELINE_CONFIG_PATH} \
1818
--trained_checkpoint_prefix ${TRAIN_PATH} \
19-
--output_directory output_inference_graph.pb
19+
--output_directory ${EXPORT_DIR}
2020
```
2121

22-
Afterwards, you should see a graph named output_inference_graph.pb.
22+
Afterwards, you should see the directory ${EXPORT_DIR} containing the following:
23+
24+
* output_inference_graph.pb, the frozen graph format of the exported model
25+
* saved_model/, a directory containing the saved model format of the exported model
26+
* model.ckpt.*, the model checkpoints used for exporting
27+
* checkpoint, a file specifying to restore included checkpoint files

0 commit comments

Comments
 (0)