Cai Pengxiang
Results
2
comments of
Cai Pengxiang
I'm facing this issue too. Have you solved this? Is it used to indicate whether there is only text and no background picture with 1 and 0 ?
I try to replace it with ```text_only = (torch.rand(x.size(0), device=x.device) < uncond).float().unsqueeze(-1)``` I dont know whether this is appropriate, but this works.