You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the top-level directory of the model you are using: research/object_detection
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary): google colab
TensorFlow version (use command below): 1.15.0-rc3
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:google colab
Exact command to reproduce: !python export_inference_graph.py --input_type=image_tensor --pipeline_config_path=training/ssd_mobilenet_v2_coco.config --trained_checkpoint_prefix=training/model.ckpt-1001 --output_directory=output
I am facing the issue with exporting graph using tensorflow object detection API running the command above.
Traceback (most recent call last):
File "export_inference_graph.py", line 162, in <module>
tf.app.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "export_inference_graph.py", line 158, in main
write_inference_graph=FLAGS.write_inference_graph)
File "/content/drive/My Drive/OD/models-master/research/object_detection/exporter.py", line 489, in export_inference_graph
write_inference_graph=write_inference_graph)
File "/content/drive/My Drive/OD/models-master/research/object_detection/exporter.py", line 418, in _export_inference_graph
trained_checkpoint_prefix=checkpoint_to_use)
File "/content/drive/My Drive/OD/models-master/research/object_detection/exporter.py", line 327, in write_graph_and_checkpoint
saver.restore(sess, trained_checkpoint_prefix)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1282, in restore
checkpoint_prefix)
ValueError: The passed save_path is not a valid checkpoint: training/model.ckpt-1001
I am having this issue although having model.ckpt-1001 in the folder.
The text was updated successfully, but these errors were encountered:
I am facing the issue with exporting graph using tensorflow object detection API running the command above.
I am having this issue although having model.ckpt-1001 in the folder.
The text was updated successfully, but these errors were encountered: