Coder Social home page Coder Social logo

zju-pi / diff-sampler Goto Github PK

View Code? Open in Web Editor NEW
125.0 7.0 4.0 9.28 MB

An open-source toolbox for fast sampling of diffusion models. Official implementations for our [CVPR-2024, ICML-2024] papers

License: Apache License 2.0

Python 99.10% Shell 0.90%
diffusion-models ode-solver samplers cvpr2024 benchmark

diff-sampler's People

Contributors

defangchen avatar zhyzhouu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

diff-sampler's Issues

开源代码计划

您好,请问有开源代码,或者整合到diffusers上的计划吗

AFS实现有误

GENIE中的afs:

x = torch.randn(sampling_shape, device=device)
x_bar = x * (1. + gamma[0] ** 2.).sqrt()
eps = x

本库中的AFS:

latents = rnd.randn([batch_size, net.img_channels, net.img_resolution, net.img_resolution], device=device)
x_cur = latents * t_cur
d_cur = x_cur / ((1 + t_cur**2).sqrt())

应改为

d_cur = latents

d_cur = x_cur / t_cur

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.