How to add new diffusion model pipeline? Like kandinsky-2-2 for example #268
-
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! You may want to take a look at |
Beta Was this translation helpful? Give feedback.
Hi! You may want to take a look at
threestudio/models/guidance/stable_diffusion_guidance.py
. Basically you need to compute the loss for an input image, which is often done by evaluating the UNet (and VAE) of the diffusion model, but the specific operation varies from pipeline to pipeline. By the way, I've been re-writing all the guidance recently and you should feel more easy to implement new guidance with the refactored code.