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.5k stars 118 forks source link

Example conditional sampling with classifier guidance #24

Open luisarandas opened 1 year ago

luisarandas commented 1 year ago

Hello all,

This is fantastic work. Any examples on conditional sampling with classifier guidance?

Say e.g. -> https://github.com/crowsonkb/guided-diffusion, https://github.com/nerdyrodent/CLIP-Guided-Diffusion

Thanks!

luisarandas commented 1 year ago

Just found out KC amazing implementation. For those interested in conditional ones -> https://github.com/crowsonkb/k-diffusion/blob/master/k_diffusion/sampling.py

LuChengTHU commented 1 year ago

Please check this example code:https://github.com/LuChengTHU/dpm-solver/tree/main/examples/ddpm_and_guided-diffusion