-
Notifications
You must be signed in to change notification settings - Fork 50
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
The passed save_path is not a valid checkpoint #38
Comments
Sorry for the late response. What is the "init_from" you pass to ? It needs to point to the checkpoint abolute path. |
When I start to train the model through the script train.py, there is an OS error happened as follows: |
I am not sure what caused this error. Have you checked if the following file exists: densevid_eval-master/coco-caption/pycocoevalcap/meteor/data/paraphrase-en.gz ? If NOT, please manually download it from https://github.com/tylin/coco-caption/tree/3f0fe9b819c0ea881a56441e4de1146924a394eb/pycocoevalcap/meteor/data . |
Yes I have added that .gz file in the respective folder still getting error. Do I need to extract that file or as it is |
As it is. |
Yes JaywongWang,
Its their still getting same error :)
…On Wed, 14 Oct 2020 12:37 pm Jingwen Wang, ***@***.***> wrote:
As it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGHXUT3JLHW5WHLR44ITL7DSKVE4ZANCNFSM4QROWDNA>
.
|
I am not sure what caused this error. |
Hello JaywongWang, As their is not direct path given in your repository "densevid_eval-master/coco-caption/pycocoevalcap/meteor/data/" Thank you for your reply |
Yes. |
Dear JaywongWang,
I am trying to execute test.py but getting the following error.
Restoring model from
ValueError Traceback (most recent call last)
in
3 tf.reset_default_graph()
4 options = default_options()
----> 5 test(options)
in test(options)
20 print('Restoring model from %s'%options['init_from'])
21 saver = tf.train.Saver()
---> 22 saver.restore(sess, options['init_from'])
23
24 word2ix = options['vocab']
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py in restore(self, sess, save_path)
1280 if not checkpoint_management.checkpoint_exists_internal(checkpoint_prefix):
1281 raise ValueError("The passed save_path is not a valid checkpoint: " +
-> 1282 checkpoint_prefix)
1283
1284 logging.info("Restoring parameters from %s", checkpoint_prefix)
ValueError: The passed save_path is not a valid checkpoint:
Could you please help me on these issues?
Thanks for your time and great work!
The text was updated successfully, but these errors were encountered: