Shen-Lab / LDM-3DG

[ICLR 2024] "Latent 3D Graph Diffusion" by Yuning You, Ruida Zhou, Jiwoong Park, Haotian Xu, Chao Tian, Zhangyang Wang, Yang Shen
GNU General Public License v3.0
34 stars 6 forks source link

rdkit=2019.03.4 is not compatible with 3d sampling #5

Closed yryMax closed 4 months ago

yryMax commented 4 months ago

Dear Authors,

First of all thanks for your great work and the excellent paper! The research is very clear and well-organized. And I appreciate the effort put into sharing the model and dataset.

I ran into problems when trying to run the script AE_Geometry_and_Unconditional_Latent_Diffusion/sample3_latent_ddpm_qm9_3d.py The error information is `AttributeError: type object 'ChiralType' has no attribute 'CHI_OCTAHEDRAL' The reason seems to be that the new attributes you added in the snippet are not contained in rdkit=2019.03.4 (see below screenshot)

image

However, if I set rdkit to the newest version, I have vocab issues when running the evaluation script, same problem as in this issue

How do you overcome this issue? which version of rdkit are you using so that evaluation script and 3d sampling script can both function? Thanks in advance!

yryMax commented 4 months ago

Another issue is that the 2d_to_3d decoder under /AE_geom_uncond_weights_and_data/job16_decoder_2d_to_3d_spatial_graphs/ cannot be loaded, it gives the following error

image

The decoder under folder job19(the gssl decoder) can be successfully loaded

yyou1996 commented 4 months ago

Hi @yryMax,

In my experiments I indeed use two condo environment for the 2D and 3D decoding (mainly the different version of rdkit). The reason is the borrowed AE for 2D and 3D, are developed in very different period of time and I did not manage to make them work in the same environment (still mainly about rdkit version).

For the model weight, I re-upload a version here -- last.ckpt which should work now.