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
TypeError: expected Tensor as element 0 in argument 0, but got DiagonalGaussianDistribution
File "/home/yj/projects/07-diffusion/latent-diffusion-main/ldm/models/diffusion/ddpm.py", line 850, in encode_first_stage
o = torch.stack(output_list, axis=-1)
When I try to use the super-resolution inference model, the above error occurs because when using autoencoder-kl, the DiagonalGaussianDistribution class data will be returned, resulting in the inability to concat. Has anyone encountered a similar situation?
The text was updated successfully, but these errors were encountered:
TypeError: expected Tensor as element 0 in argument 0, but got DiagonalGaussianDistribution
File "/home/yj/projects/07-diffusion/latent-diffusion-main/ldm/models/diffusion/ddpm.py", line 850, in encode_first_stage
o = torch.stack(output_list, axis=-1)
When I try to use the super-resolution inference model, the above error occurs because when using autoencoder-kl, the DiagonalGaussianDistribution class data will be returned, resulting in the inability to concat. Has anyone encountered a similar situation?
The text was updated successfully, but these errors were encountered: