The checkpoint files of the object detection models cannot be imported
System information
OS: Ubuntu 16.04.2 LTS (Xenial Xerus)
TensorFlow version: ('v1.2.0-rc2-21-g12f033d', '1.2.0')
Describe the problem
The checkpoint files of the object detection models cannot be imported. Related to https://github.com/tensorflow/models/issues/1564.
Source code / logs
meta_graph_def = tf.train.import_meta_graph(model.ckpt.meta)
Traceback (most recent call last):
File "../../extract_graph_def.py", line 19, in <module>
main()
File "../../extract_graph_def.py", line 15, in main
extract_graph_def(input, output)
File "../../extract_graph_def.py", line 7, in extract_graph_def
meta_graph_def = tf.train.import_meta_graph(input)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1686, in import_meta_graph
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/meta_graph.py", line 504, in import_scoped_meta_graph
producer_op_list=producer_op_list)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 283, in import_graph_def
raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named SSTableReaderV2 in defined operations.
@futurely - can you say what program you are trying to run and with what parameters please?
Thanks! I've successfully fine-tuned models initialized with the released checkpoints. This issue no longer needs to be addressed.
futurely,
Can you share how you resolve this issue? I have encountered the same issue as described in #1564
Thanks,
On Mon, Jun 19, 2017 at 7:54 PM, futurely [email protected] wrote:
Thanks! I've successfully fine-tuned models initialized with the released checkpoints. This issue no longer needs to be addressed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/models/issues/1602#issuecomment-309630258, or mute the thread https://github.com/notifications/unsubscribe-auth/AMGg3iWbF4rJsN1hURlsuNCuZSx5fnz6ks5sFzRQgaJpZM4N9j_h .
https://github.com/tensorflow/models/issues/1564#issuecomment-309703063
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
1.4.0
Traceback (most recent call last):
File "freezeGraph-WORKING.py", line 13, in