Giter Site home page Giter Site logo

Comments (8)

rosinality avatar rosinality commented on July 30, 2024 2

If you are using generate.py, it will use ema generator and truncation. You can try to increase truncation by decreasing style_weight in here: https://github.com/rosinality/style-based-gan-pytorch/blob/master/generate.py#L33

I think there not much things that can be used to vastly increase image quality.

from style-based-gan-pytorch.

rosinality avatar rosinality commented on July 30, 2024 1

get_mean_styles will calculate average latent codes over gaussian noises.

n_target and n_source means the number of styles originates from and transferred to.

from style-based-gan-pytorch.

brianw0924 avatar brianw0924 commented on July 30, 2024

Thanks for replying, I have another question:

I have about 70k real img, how many "number of samples used for each training phases" should I set is the best?

my final output img is 64*64, I set the parameter 35k, and the face still have some distortion (just like a monster)

should I increase "number of samples used for each training phases" ? or should I increase n_critics?

(btw, I'm drawing anime faces)

from style-based-gan-pytorch.

rosinality avatar rosinality commented on July 30, 2024

I think it would be enough to use default phase steps. It is just for transitions between each resolutions, and progressive training. You can train more on your target resolutions. (64px) And it would be better to check FIDs.

from style-based-gan-pytorch.

brianw0924 avatar brianw0924 commented on July 30, 2024

thank you.

FID is really good, but there's another threshold in my homework, which is detecting faces for given images

and my output seems generate some abnormal faces (e.g. wrong eye, mouth position...etc)

from style-based-gan-pytorch.

rosinality avatar rosinality commented on July 30, 2024

Are you using truncation and ema generators?

from style-based-gan-pytorch.

brianw0924 avatar brianw0924 commented on July 30, 2024

i didn't find truncation , ema generators in your codes, should I add it?

i just use your original setting, and change the image size

from style-based-gan-pytorch.

brianw0924 avatar brianw0924 commented on July 30, 2024

Thanks!!! it works, the image quality dramatically increase!!

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.