LuChengTHU / dpm-solver

Official code for "DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps" (Neurips 2022 Oral)
MIT License
1.52k stars 120 forks source link

discrete-time and continuous-time diffusion models #37

Closed fido20160817 closed 1 year ago

fido20160817 commented 1 year ago

what's the definition of discrete-time and continuous-time diffusion models? how to define them or judge a pre-trained diffusion model is discrete-time or continuous-time?

LuChengTHU commented 1 year ago

Discrete-time diffusion models are trained for discrete time steps (e.g. 0 to 999). Continuous-time diffusion models are trained for continuous time steps (e.g. [1e-3, 1]).

fido20160817 commented 1 year ago

en, for a pre-trained model, from which parameter we can judge whether it is discrete-time or continuous-time?

fido20160817 commented 1 year ago

is it "noise_schedule"? which can be set to linear, cosine during training

LuChengTHU commented 1 year ago

Please check the range of the model's time input.

fido20160817 commented 1 year ago

I see, thanks! nice work!