carpedm20 / carpedm20/attentive-reader-tensorflow

Loading a checkpointed model

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
186
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Hello. Thanks so much for working in this project.

I a running into an issue when loading the checkpointed model. I get the floowing error after running `python main.py --dataset cnn --forward_only True`

```
File "main.py", line 49, in
tf.app.run()
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/platform/default/_app.py", line 30, in run
sys.exit(main(sys.argv))
File "main.py", line 46, in main
model.load(sess, FLAGS.checkpoint_dir, FLAGS.dataset)
File "/Users/raphaelabberbock/Desktop/junk/attentive2/model/base_model.py", line 29, in load
self.saver = tf.train.Saver()
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 705, in __init__
raise ValueError("No variables to save")
ValueError: No variables to save
```

An issue has already been opened regarding this matter, but I did not see a resolution to the problem.

Any help would be much appreciated.

Thanks,

Raffi

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.