Giter VIP home page Giter VIP logo

Comments (5)

shsjxzh avatar shsjxzh commented on September 28, 2024

Hi ChloeKiwi,

Essentially, GNet provides domain embeddings for the encoder. The domain embedding serves as an identity of each domain, while also contains domain graph information (it is trained with the domain graph). "use_g_encode" decides whether we will use the pretrained domain embedding ("True" for using the pretrained embedding). The domain embedding can be pretrained or trained with the pipeline together. I will add some comments for this part.

from grda.

ChloeKiwi avatar ChloeKiwi commented on September 28, 2024

Hi ChloeKiwi,

Essentially, GNet provides domain embeddings for the encoder. The domain embedding serves as an identity of each domain, while also contains domain graph information (it is trained with the domain graph). "use_g_encode" decides whether we will use the pretrained domain embedding ("True" for using the pretrained embedding). The domain embedding can be pretrained or trained with the pipeline together. I will add some comments for this part.

Thanks a lot ! I am so sorry that I saw it just now.😥 And may I ask why it only sample several nodes to train the discriminator instead of all nodes?

from grda.

shsjxzh avatar shsjxzh commented on September 28, 2024

Because we found that this can provide better performance compared with sampling all the nodes. You can also test it by adjusting the sample numbers in "opt.sample_v".

from grda.

cht619 avatar cht619 commented on September 28, 2024

How to train DomainGraph with another dataset? MNIST... Use similarity?

from grda.

shsjxzh avatar shsjxzh commented on September 28, 2024

Hi cht619,

Yes, you can use similarity to construct a graph. To use GRDA, you should have a pre-defined domain graph first. For instance, when you adapt the weather prediction model between states in USA, you can use the USA map as the graph; for MNIST, may be you can construct a graph based on similarities between number "1" to "9" (assuming each number forms a domain).

from grda.

Related Issues (3)

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.