score_sde_pytorch icon indicating copy to clipboard operation
score_sde_pytorch copied to clipboard

Differenct device in sde_lib.py

Open HGGshiwo opened this issue 4 months ago • 0 comments

I think line 251 should be

adjacent_sigma = torch.where(timestep == 0, torch.zeros_like(t), 
                                 self.discrete_sigmas.to(t.device)[timestep - 1])

otherwise there accours an error when run reconstruction block in ipynb

HGGshiwo avatar Oct 14 '24 00:10 HGGshiwo