FrodoBo

Results 2 issues of FrodoBo

When training my AE, I sometimes output `pop from empty list` (like the figure below), which will have an impact on the training. ![image](https://github.com/CompVis/latent-diffusion/assets/50145600/f6b8c957-cbce-44ee-bfcc-3b9a58e47e79)

Confusion about get_learned_conditioning() function [https://github.com/CompVis/latent-diffusion/blob/main/ldm/models/diffusion/ddpm.py#L551](url) ```python def get_learned_conditioning(self, c): if self.cond_stage_forward is None: if hasattr(self.cond_stage_model, 'encode') and callable(self.cond_stage_model.encode): c = self.cond_stage_model.encode(c) if isinstance(c, DiagonalGaussianDistribution): c = c.mode() else: c =...