ehoogeboom / e3_diffusion_for_molecules

MIT License
408 stars 110 forks source link

Question about the code #27

Closed 545487677 closed 7 months ago

545487677 commented 10 months ago

Hi, Thank you for sharing such a great work. I am a little confused about this line of the code. Can you tell me the role of delta_log_px in this line of the code and I don’t know why it times np.log(self.norm_values[0])?
Thank you for sharing this work. I genuinely appreciate the effort you've put into this work and would be grateful for your guidance.

Thank you.

https://github.com/ehoogeboom/e3_diffusion_for_molecules/blob/fce07d701a2d2340f3522df588832c2c0f7e044a/equivariant_diffusion/en_diffusion.py#L344

ehoogeboom commented 7 months ago

Hi

If you normalise data, you need to account for probability change via the change-of-variables formula.