Coder Social home page Coder Social logo

Comments (10)

lengstrom avatar lengstrom commented on May 19, 2024

Can you please be more specific?

from fast-style-transfer.

hugocen avatar hugocen commented on May 19, 2024

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.

from fast-style-transfer.

jbgrant01 avatar jbgrant01 commented on May 19, 2024

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?

from fast-style-transfer.

lengstrom avatar lengstrom commented on May 19, 2024

@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.

from fast-style-transfer.

haikuoyao avatar haikuoyao commented on May 19, 2024

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

from fast-style-transfer.

lewisdonovan avatar lewisdonovan commented on May 19, 2024

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.

from fast-style-transfer.

liaquat85 avatar liaquat85 commented on May 19, 2024

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

from fast-style-transfer.

larrybrit avatar larrybrit commented on May 19, 2024

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

from fast-style-transfer.

spot92 avatar spot92 commented on May 19, 2024

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

from fast-style-transfer.

spot92 avatar spot92 commented on May 19, 2024

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

I tried this and got nowhere.

from fast-style-transfer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.