keras_to_tensorflow icon indicating copy to clipboard operation
keras_to_tensorflow copied to clipboard

AttributeError: Extensions\

Open jhaggle opened this issue 5 years ago • 0 comments

This does not work. I want to use the code on my own model. The function freeze sessions returns an object - the "frozen_graph" that only contains emty lists and dictionaries and "Extension" has the following value: 'Traceback (most recent call last):\n File "/home/johan/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/lib/python/old_ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py", line 214, in _get_py_dictionary\n attr = getattr(var, name)\nAttributeError: Extensions\n'

Furthermore, _options and serialized_options have the following value: 'Traceback (most recent call last):\n File "/home/johan/.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/lib/python/old_ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_resolver.py", line 214, in _get_py_dictionary\n attr = getattr(var, name)\nAttributeError: attribute '_serialized_options' of 'google.protobuf.pyext._message.MessageDescriptor' objects is not readable\n'

What is wrong?

jhaggle avatar Jun 21 '20 19:06 jhaggle