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 to load tensorflow's new v2 format checkpoint? #128

Open
SignalImageCV opened this issue Mar 25, 2018 · 1 comment
Open

How to load tensorflow's new v2 format checkpoint? #128

SignalImageCV opened this issue Mar 25, 2018 · 1 comment

Comments

@SignalImageCV
Copy link

Hi, the author's test_net code maybe just applicable for v1 format checkpoint, but after tensorflow r1.2, the checkpoint will be saved as v2 format by default. How to save into v2 format and restore v2 format? not v1, thanks!

@allanwlz
Copy link

aver.restore(sess, args.model)
Use args.model = '.ckpt', instead of '.ckpt.meta'

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

No branches or pull requests

2 participants