ls.unet_2d.UNet2DModel, diffusers.models.unet_2d_condition.UNet2DConditionModel]
scheduler: typing.Union[diffusers.schedulers.scheduling_ddim.DDIMScheduler, diffusers.schedulers.scheduling_pndm.PNDMScheduler, diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteScheduler]

)


Parameters 

vqvae (VQModel) —
Vector-quantized (VQ) Model to encode and decode images to and from latent representations.


bert (LDMBertModel) —
Text-encoder model b