GithubHelp home page GithubHelp logo

pipidog / keras_to_tensorflow Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 11.0 747 KB

A tutorial on converting your keras models to tensorflow .pb format for inference

Python 100.00%
convert deep-learning keras tensorflow tutorial

keras_to_tensorflow's People

Contributors

pipidog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

keras_to_tensorflow's Issues

AttributeError: Extensions\

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.