Giter VIP home page Giter VIP logo

Comments (4)

bes-dev avatar bes-dev commented on July 24, 2024

@melody-rain we reproduced results several times in different experiments using this code. Can you provide more bug report in more details? Thanks in advance

from mobilestylegan.pytorch.

melody-rain avatar melody-rain commented on July 24, 2024

@bes-dev hi. I just trained mobile-stylegan_ffhq-512(512 is the size of the generated images) with your code. The teacher model is the pytorch one converted from official tensorflow model. There was nothing changed any more. When training the loss is sometimes like loss=3.18e+04.

BTW, I added gradient_clip_val=1.0 to pl.Trainer(), the problem does not exist any longer, and I can successfully train mobile-stylegan_ffhq-512.

Many thanks to your work.

from mobilestylegan.pytorch.

ZYzhouya avatar ZYzhouya commented on July 24, 2024

@bes-dev hi. I just trained mobile-stylegan_ffhq-512(512 is the size of the generated images) with your code. The teacher model is the pytorch one converted from official tensorflow model. There was nothing changed any more. When training the loss is sometimes like loss=3.18e+04.

BTW, I added gradient_clip_val=1.0 to pl.Trainer(), the problem does not exist any longer, and I can successfully train mobile-stylegan_ffhq-512.

Many thanks to your work.

Did you reproduce the desired results?

In my training, "kid_val' value decreases at the beginning, but it increases after sevel iterations and logs "kid_val was not in top True".

Many thanks. WAIT FOR YOUR REPLY.

@melody-rain @bes-dev

from mobilestylegan.pytorch.

zt706 avatar zt706 commented on July 24, 2024

@melody-rain we reproduced results several times in different experiments using this code. Can you provide more bug report in more details? Thanks in advance

Can you give an overview of your experimental environment?
For example: cuda version
torch version
gcc version

When I use cuda10, the loss is easy to nan, but when I switch to cuda11, it is ok. @ZYzhouya

However, I used cuda11 + pytorch 1.7 + gcc5.4 + ubuntu16.04, and used your code and cfg file + 4 2080ti.
After training for 5 days, it still can't reach your effect.
Do you have any advice

from mobilestylegan.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.