Giter Site home page Giter Site logo

Comments (5)

ShenYujun avatar ShenYujun commented on September 16, 2024 2

Thanks for pointing this out. We will test it following your suggestion.

from idinvert.

zhujiapeng avatar zhujiapeng commented on September 16, 2024 1

Both the generator and encoder were trained using FFHQ datasets, which have already been aligned. Thus, if you want to invert the image from the Web, make sure that you have aligned the image first.

from idinvert.

PXThanhLam avatar PXThanhLam commented on September 16, 2024

Thanks for your answer, I will align the image before feeding into network.
Ps: In the perceptual model, did you try to calculate l2 loss in multi layer, instead of layer 22 only ( I calculate l2 loss in multi layer and notice that the result is much better )

from idinvert.

zhujiapeng avatar zhujiapeng commented on September 16, 2024

We don't try it on multi-layers. Better reconstruction? or better manipulation? or something else?

from idinvert.

PXThanhLam avatar PXThanhLam commented on September 16, 2024

Better Reconstruction, I notice that the mse loss between two image is much smaller when doing perceptual loss in multi-layers, and the reconstruct image look more "realistic". Here is some reconstruct image with and without multi-layer perceptual. ( with 1000 iteration)
Original Image:
dicaprio_ori
Reconstruct with multi-layer perceptual loss:
dicaprio_multi
Reconstruct with original perceptual loss:
dicaprio_single
Ps : I have try to algin and the result is the same (Like what you see in example above), I currently try to expand your work with styleganv2, will inform you when the work is finish.

from idinvert.

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.