Giter Site home page Giter Site logo

Comments (11)

lucidrains avatar lucidrains commented on May 24, 2024

@dave7895 models are periodically saved at intervals of 1k iterations, and you can find it under ./models/{project name}. they should be never overwritten, and you can even go back in time and load previous models along the way with --load-from {checkpoint num}

from stylegan2-pytorch.

dave7895 avatar dave7895 commented on May 24, 2024

I understand. Sorry for my possibly badly formulated question. I meant: If I train 990 iterations and then interrupt the script, are all the 990 iterations wasted or are they in the most recent model and if I continue there are basically 1990 iterations in this checkpoint added?

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@dave7895 ahh, they are wasted, it's too expensive to save every iteration. however, you can change the frequency at which it saves with a --save-every flag

from stylegan2-pytorch.

dave7895 avatar dave7895 commented on May 24, 2024

Yeah, okay I can understand this. Did this change with a more recent release as I hadn't updated my package and so the --save-every flag did not work. But I did not know this and so I trained it about 15k iterations but always interrupted before the checkpoint as I did not know it was at 10k and not 1k. These are the ones named automatically 0.jpg, so the ones before the first checkpoint.
0-ema
0
0-mr

That's why I am confused because I parallely train on colab and there the ones from before the 1st checkpoint look like this:
0
0-ema
0-mr

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

oh sorry I think I misunderstood. If you run the same command with the same project name (or leave at default), it will pick up where you left off

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

Oh and yup, save-every was added in recent updates!

from stylegan2-pytorch.

dave7895 avatar dave7895 commented on May 24, 2024

Thanks for the clarification. Where does this get saved then?

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@dave7895 it's saved to the ./models folder where you executed the command

from stylegan2-pytorch.

dave7895 avatar dave7895 commented on May 24, 2024

Ok so just updating and then duplicating with only one evolving at the 1k mark? Is this happening when the images are updated?

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@dave7895 yup! it happens every time the images are updated

from stylegan2-pytorch.

dave7895 avatar dave7895 commented on May 24, 2024

Ok. Thanks for your time.

from stylegan2-pytorch.

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.