p1atdev / LECO

Low-rank adaptation for Erasing COncepts from diffusion models.
https://arxiv.org/abs/2303.07345
Apache License 2.0
307 stars 23 forks source link

关于代码中的denoised_latents #41

Open yatoubusha opened 3 months ago

yatoubusha commented 3 months ago

为什么要先根据随机初始化的噪音latens,用随机去噪步数对它进行基于lora的去噪操作得到denoised_latents呢?后续的positive_latents, neutral_latents, unconditional_latents都是基于denoised_latens在原始sd上继续去噪的