ankanbhunia / PIDM

Person Image Synthesis via Denoising Diffusion Model (CVPR 2023)
https://ankanbhunia.github.io/PIDM
MIT License
481 stars 62 forks source link

when p_mean_variance, if x_cond is None: how can this code"if cond is None: x_cond = (cond_mask.view(-1,1,1,1)*x_cond)" run? #20

Closed gouchaonijiao closed 1 year ago

CnoyZ commented 11 months ago

Hey, @gouchaonijiao! Could you please tell me how you solved this problem? :)