Closed ekiwi111 closed 2 years ago
@genesst Hi, what is the torch version? I guess this can be fixed by upgrading pytorch. I'll make it more compatible to lower versions later.
@genesst Hi, what is the torch version? I guess this can be fixed by upgrading pytorch. I'll make it more compatible to lower versions later.
>>> torch.__version__
'1.13.0.dev20221006'
Also added it to the original post
@genesst Oh I haven't tested 1.13 too... Could you try w = (1 - self.scheduler.alphas_cumprod[t.cpu()]).to(self.device)
?
@genesst Oh I haven't tested 1.13 too... Could you try
w = (1 - self.scheduler.alphas_cumprod[t.cpu()]).to(self.device)
?
That worked!
Input:
Output:
How can I fix this?