Giter Site home page Giter Site logo

ddbm's People

Contributors

alexzhou907 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

ddbm's Issues

How to run our own dataset

Thanks for your great work, I want to konw if the work could been used with unpaired dataset ,and if I use my own dataset, is there anything I need to change like load_data() in DDBM-main\ datassets _init_.py

logsnr function

Hi @alexzhou907 , It is a really nice work!
I've been going through the code in Line91 of karras_diffusion.py and Line93 of karras_diffusion.py of the same file, and I've got a question regarding the parameter 't' in the functions vp_logsnr and vp_logs. It seems to consistently have a value of 1. Could you kindly clarify why this value is chosen for 't'?

def vp_logsnr(t, beta_d, beta_min):
    t = th.as_tensor(t)
    return - th.log((0.5 * beta_d * (t ** 2) + beta_min * t).exp() - 1)
    
def vp_logs(t, beta_d, beta_min):
    t = th.as_tensor(t)
    return -0.25 * t ** 2 * (beta_d) - 0.5 * t * beta_min

code realse

Great work. When do you plan to release the code?

About VP Schedule's Hyperparamter

Hi @alexzhou907 ! It's really a nice work. It's thrilling to see it gain recognition and acceptance.

Upon reviewing both the paper and the source code, I've encountered a point of confusion regarding the implementation of the VP schedule's hyperparameter, specifically the constant drift term. The paper mentions that incorporating a constant drift term could enhance performance, which caught my attention.

image

In the code, however, it seems that there is no such implementation, or I might have overlook it. The most relevant section I found about VP schedule implementation is this line of code, which seems to still use the unbalanced diffusion bridge. Is there any point I miss?

def vp_logs(t, beta_d, beta_min):
t = th.as_tensor(t)
return -0.25 * t ** 2 * (beta_d) - 0.5 * t * beta_min

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.