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

ValueError: Asked to load checkpoint 10000, but it does not seem to exist #48

Open
intvo opened this issue Nov 9, 2018 · 6 comments
Open

Comments

@intvo
Copy link

intvo commented Nov 9, 2018

When I run python src/translate.py --action walking --seq_length_out 25 --iterations 10000 --sample --load 10000 after training I get the following error
screen shot 2018-11-08 at 8 43 33 pm

@una-dinosauria
Copy link
Owner

What does the folder experiments/walking/.../not_residual_vel have? The checkpoint should be there.

PS. Please do not post images of text. Just copy the text.

@intvo
Copy link
Author

intvo commented Nov 9, 2018

Here's what's inside not_residual_vel
screen shot 2018-11-08 at 9 02 01 pm

@una-dinosauria
Copy link
Owner

Weird. The checkpoint is definitely there. Not sure what is going on -- I suggest you try to figure out why this line

if os.path.isfile(os.path.join(train_dir,"checkpoint-{0}.index".format(FLAGS.load))):

returns False in your machine, since it should return True. Maybe something to do with python's os.path in MacOS?

Another suggestion is to just use linux -- it's free! :)

@intvo
Copy link
Author

intvo commented Nov 9, 2018

Thank you for your quick response, there's so many files before not_residual_vel
Is this a path problem?
Here's my path to not_residual_vel

/Users/assam/Desktop/human-motion-prediction/experiments/walking/out_25/iterations_10000/tied/sampling_based/one_hot/depth_1/size_1024/lr_0.005/not_residual_vel

@una-dinosauria
Copy link
Owner

The path looks good to me.

Like I said, you should debug why that line returns False.

Hints: use a debugger; use Google.

I'm sorry I can't help you further since this is pretty specific to your machine and OS.

Cheers,

@intvo
Copy link
Author

intvo commented Nov 9, 2018

I fixed the issue by telling the file path.
How can I use the webcam camera as an input?
Thank you

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

1 participant