Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How load checkpoint(.ckpt) file #494

Closed
bigfanofcpp opened this issue Dec 11, 2017 · 3 comments
Closed

How load checkpoint(.ckpt) file #494

bigfanofcpp opened this issue Dec 11, 2017 · 3 comments

Comments

@bigfanofcpp
Copy link

bigfanofcpp commented Dec 11, 2017

How load checkpint(.ckpt) file by javacpp-presets(tensorflow)?

thanks.

@saudet
Copy link
Member

saudet commented Dec 11, 2017

We can do it from C++ this way apparently: https://stackoverflow.com/a/43639305/523744

This requires the definition of MetaGraphDef and SaverDef, so I've included those files in the commit above. If you're having problems using them, please let me know!

@saudet
Copy link
Member

saudet commented Dec 14, 2017

@saudet
Copy link
Member

saudet commented Jan 7, 2018

There appears to be a better interface for that these days in checkpoint_reader.h so I've also included it in the latest commit above. Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants