Jan-Hendrik Bastek

Results 2 issues of Jan-Hendrik Bastek

While trying to work through the details of the code, I noticed a potential bug in the forward call of the **CrossAttention** class (in ldm/modules/attention.py, code provided below). Namely, since...

In `train_ddpm/runners/diffusion_tub.py` the loss is computed as `loss = loss_registry[config.model.type](model, x, t, e, b, x_offset.item(), x_scale.item())`. This calls `def conditional_noise_estimation_loss(model, x0: torch.Tensor, t: torch.LongTensor, e: torch.Tensor, b: torch.Tensor, x_scale, x_offset,...