KeyError: 'ExperimentalFunctionBufferingResource'

I'm using tensorflow 1.13 and want to load meta file and restore the weights from checkpoint, but I get this issue when I try to load meta file

Traceback (most recent call last):
  File "scripts/scripts.py", line 18, in <module>
    load_from_ckpt()
  File "scripts/scripts.py", line 10, in load_from_ckpt
    new_saver = tf.train.import_meta_graph('model.ckpt-225207.meta')
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1435, in import_meta_graph
    meta_graph_or_file, clear_devices, import_scope, **kwargs)[0]
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1457, in _import_meta_graph_with_return_elements
    **kwargs))
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/framework/meta_graph.py", line 806, in import_scoped_meta_graph_with_return_elements
    return_elements=return_elements)
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 399, in import_graph_def
    _RemoveDefaultAttrs(op_dict, producer_op_list, graph_def)
  File "/home/user/.local/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 159, in _RemoveDefaultAttrs
    op_def = op_dict[node.op]
KeyError: 'ExperimentalFunctionBufferingResource'
tensorflowcheckpointmeta
3 votesJW234.00
0 Answers
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?