Coder Social home page Coder Social logo

chenwu98 / unified-generative-zoo Goto Github PK

View Code? Open in Web Editor NEW
118.0 9.0 5.0 17.77 MB

[ICCV 2023] https://arxiv.org/abs/2210.05559

License: Other

Python 84.87% C++ 3.36% Cuda 11.70% C 0.07%
generative-adversarial-networks generative-models 3d-models diffusion-models image-synthesis score-based-generative-models text-to-image

unified-generative-zoo's Issues

Computation of Langevin dynamics

In the line100 in langevin_dynamics.py, the z is updated according to the Langevin dynamics:
z = (z - self.step_size / 2 * grad + noise).detach().
The variable `grad' in code is computed as $\bigtriangledown_z -E(G(z)|C)$.

Refer to Sec 3.4 【UNIFIED PLUG-AND-PLAY GUIDANCE FOR GENERATIVE MODELS】 in paper 【UNIFYING DIFFUSION MODELS’ LATENT SPACE, WITH APPLICATIONS TO CYCLEDIFFUSION AND GUIDANCE】, the update of z should involve the term $\bigtriangledown_z \log(p_z(z^k))$.

I am wondering why this term can be omitted in practice or which codes compute this term. Can you give me some hints? Thank you for your great work and your kindly reply.

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.