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

No checkpoint model #39

Closed
hugocen opened this issue Dec 30, 2016 · 10 comments
Closed

No checkpoint model #39

hugocen opened this issue Dec 30, 2016 · 10 comments

Comments

@hugocen
Copy link

hugocen commented Dec 30, 2016

Hello, thank you for your amazing work.
After I run the style.py.
It shows Training complete.
But I can't find the .ckpt file at the directory.

Any suggestions ?
Thank you.

@lengstrom
Copy link
Owner

Can you please be more specific?

@hugocen
Copy link
Author

hugocen commented Dec 30, 2016

I put the checkpoint directory here.
--checkpoint-dir ~/Desktop/fast-style-transfer-master/
But after training there isn't any model files.
So I can't evaluate images.

@jbgrant01
Copy link

When I completed a training cycle (4 days) in my Ckpt directory there were four files: checkpoint, fns.ckpt-00000-00001 (or something similar). fns.ckpt.index, and fns.ckpt.metadata. Seems like it should have a simple fns.ckpt, similar to the included models like la_muse.ckpt.

How do I build a fns.ckpt file to use with evaluate?

@lengstrom
Copy link
Owner

@harry0731 It works for me, I don't know what you're doing wrong.

@jbgrant01 You can just pass the directory into the evaluation script.

@haikuoyao
Copy link

I have the same question with @jbgrant01
How did you create just one single tensorflow model file?
Thanks.

@lewisdonovan
Copy link

lewisdonovan commented Nov 10, 2017

I'm stuck on this too. I've got the same set of files that @jbgrant01 described. I passed the checkpoint directory into the evaluation script and it output the stylised images, but I still have no fns.ckpt file. I've tried sudo ls in the checkpoint directory but still see the same file list.

Here's the command I used to evaluate the checkpoint:

sudo python evaluate.py --checkpoint path/to/checkpoints --in-path path/to/images --out-path path/to/output --allow-different-dimensions

My checkpoint file (no file extension) has the following inside:

model_checkpoint_path: "fns.ckpt"
all_model_checkpoint_paths: "fns.ckpt"

But fns.ckpt does not exist in this folder.

@liaquat85
Copy link

can you just upload the checkpoints files like I have the file as rain-princess.cpkt

@larrybrit
Copy link

This fixed the problem for me.
#78 (comment)

@spot92
Copy link

spot92 commented Nov 12, 2019

When I completed a training cycle (4 days) in my Ckpt directory there were four files: checkpoint, fns.ckpt-00000-00001 (or something similar). fns.ckpt.index, and fns.ckpt.metadata. Seems like it should have a simple fns.ckpt, similar to the included models like la_muse.ckpt.

How do I build a fns.ckpt file to use with evaluate?

Did you solve this? I am looking to not retrain with the code referenced by larrybrit, but use the files I already have some how

@spot92
Copy link

spot92 commented Nov 12, 2019

@jbgrant01 You can just pass the directory into the evaluation script.

I tried this and got nowhere.

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

8 participants