Giter Site home page Giter Site logo

Comments (5)

rosinality avatar rosinality commented on July 30, 2024

Sorry, [DIGITS].model file only saves running average of generator. Generators and discriminators are saved in the train-step-X.model file when train phase changed. Could you use that checkpoints?

from style-based-gan-pytorch.

Ghostbeach avatar Ghostbeach commented on July 30, 2024

Thank you for your quick answer. So the problem probably is, there is no train-step-X.model existing, because the process wasnt far enough executed to make the jump to 16x resolution, where it would be safed as far as i understand. Is there a easy way to modify the code, that training stops get safed more often than only on resolution jumps?

from style-based-gan-pytorch.

Ghostbeach avatar Ghostbeach commented on July 30, 2024

Or maybe i'll just need to get better hardware ( :

from style-based-gan-pytorch.

rosinality avatar rosinality commented on July 30, 2024

Hmm I thought 20000 iterations are enough to change phases. You can copy these lines https://github.com/rosinality/style-based-gan-pytorch/blob/master/train.py#L100 to https://github.com/rosinality/style-based-gan-pytorch/blob/master/train.py#L241 this to save states for resume training. Sorry for confusion.

from style-based-gan-pytorch.

MohammedAlghamdi avatar MohammedAlghamdi commented on July 30, 2024

Thank you for sharing your code.

I think also you need to reset --init_size to where it stopped training when resuming training otherwise it would restart from the 8 by 8.

from style-based-gan-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.