Giter Club home page Giter Club logo

Comments (10)

pbaylies avatar pbaylies commented on July 21, 2024 1

Those are both w+, all truncation does is pull it more towards the center of the distribution.

from stylegan-encoder.

pbaylies avatar pbaylies commented on July 21, 2024

I'm not quite sure what you're proposing, but I'm welcome to proofs of concept or code! The resnet is mainly used to provide an estimate of the latents as a starting point for encoding.

from stylegan-encoder.

xiaohaipeng avatar xiaohaipeng commented on July 21, 2024

i mean after you have an estimate of the latents,connect the resnet and genarator , finetune resnet to get the best latents.
and i find after optimize the latent,generated-image looks blurry compared to the image generated by stylegan,does loss function lead to the effect?

from stylegan-encoder.

pbaylies avatar pbaylies commented on July 21, 2024

You could try that, but you'd just end up with a resnet model that's fine-tuned for a single image.

from stylegan-encoder.

xiaohaipeng avatar xiaohaipeng commented on July 21, 2024

@pbaylies line 125 in perceptual_model.py,why sess.run([self.features_weight.initializer, self.features_weight.initializer]) twice?

from stylegan-encoder.

pbaylies avatar pbaylies commented on July 21, 2024

For better or for worse, this was in @Puzer's original code as well.

from stylegan-encoder.

xiaohaipeng avatar xiaohaipeng commented on July 21, 2024

@pbaylies and i also want you help me make sure some details about stylegan:for images of1024 size,the w space is of[batchsize,18,512],after truncation ,get w+space of the same shape,how different of the two spaces?

from stylegan-encoder.

xiaohaipeng avatar xiaohaipeng commented on July 21, 2024

and,why do you use L1 loss on vgg features but use L2 loss on image pixels?what is your considerations when you design the five losses?

from stylegan-encoder.

pbaylies avatar pbaylies commented on July 21, 2024

Trial and error :)

from stylegan-encoder.

xiaohaipeng avatar xiaohaipeng commented on July 21, 2024

haha,you must try much losses.and images generated by stylegan always have defects or flaws,what reason do you think cause that?

from stylegan-encoder.

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.