You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "E:\minimal-diffusion-main\main_single.py", line 38, in
/ unsqueeze3x(scalars.alpha_bar[t].sqrt())
IndexError: tensors used as indices must be long, byte or bool tensors
File "E:\minimal-diffusion-main\main_single.py", line 38, in
/ unsqueeze3x(scalars.alpha_bar[t].sqrt())
IndexError: tensors used as indices must be long, byte or bool tensors
self.get_x0_from_xt_eps = lambda xt, eps, t, scalars: (
self.clamp_x0(
1
/ unsqueeze3x(scalars.alpha_bar[t].sqrt())
* (xt - unsqueeze3x((1 - scalars.alpha_bar[t]).sqrt()) * eps)
)
)
The text was updated successfully, but these errors were encountered: