fengwang / Stable-Diffusion-NCNN

Stable Diffusion inference in pure C++
60 stars 5 forks source link

unet的输入是不断更新吗?把上一step的unet输出,当成step+1次的输入?代码怎样体现的?感谢 #7

Closed henbucuoshanghai closed 1 year ago

henbucuoshanghai commented 1 year ago

ncnn::Mat denoised = CFGDenoiser_CompVisDenoiser( net, log_sigmas, x_mat, sigma[i], c, uc );