Giter Site home page Giter Site logo

About re-scoring analysis about sefa HOT 7 CLOSED

genforce avatar genforce commented on September 25, 2024
About re-scoring analysis

from sefa.

Comments (7)

ShenYujun avatar ShenYujun commented on September 25, 2024

You can set k=1 for all directions for a fair comparison.

from sefa.

rainsoulsrx avatar rainsoulsrx commented on September 25, 2024

image
hi,In this table, you mentioned " each level of layers", for example, Middle Layers (2-5), means 2-5 layers together as a whole matrix or a matrix for each layer? I think it must satisfy linearity, but 2-5 layers together is not linearity because there is nonlinear activation function between them.

from sefa.

ShenYujun avatar ShenYujun commented on September 25, 2024

If you only consider how the latent code is fed into these AdaIN operations for each layer, they are linear.

from sefa.

07hyx06 avatar 07hyx06 commented on September 25, 2024

Suppose layer2's weight matrix size is [1024,512], layer3's size is [512,512], layer 4's size is [256,512]. If consider layer2~4, it firstly concatenate them together and get a [1024+512+256,512]=[1792,512] size matrix A, and compute A^T A's eigen vector as the direction?

from sefa.

ShenYujun avatar ShenYujun commented on September 25, 2024

@07hyx06 Yes, you are right.

from sefa.

07hyx06 avatar 07hyx06 commented on September 25, 2024

@07hyx06 Yes, you are right.

I concatenate all of the 18 layers together and get a [10176,512] weight matrix A, and then normalized A's row by A[i]/=torch,norm(A[i]) before performing eigen decomposition, but i still cannot get the results in Table 1. The cos distance in my implement is 0.8+ for all attribute. Is it needs other tricks? I used torch.symeig to compute the eigens and the biggest eigen is 60 6.55.

from sefa.

ShenYujun avatar ShenYujun commented on September 25, 2024

Please try np.linalg.eig(A.T.dot(A))

from sefa.

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.