Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
28b91429
Unverified
Commit
28b91429
authored
May 11, 2018
by
pkulzc
Committed by
GitHub
May 11, 2018
Browse files
Merge pull request #4147 - update exporting_models doc
Object detection export dir
parents
c0a380d2
a4220162
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
research/object_detection/g3doc/exporting_models.md
research/object_detection/g3doc/exporting_models.md
+8
-3
No files found.
research/object_detection/g3doc/exporting_models.md
View file @
28b91429
...
...
@@ -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
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment