wengong-jin / hgraph2graph

Hierarchical Generation of Molecular Graphs using Structural Motifs
MIT License
379 stars 110 forks source link

how to convert the chembl checkpoint kept file to an binary format #32

Open erbb2 opened 2 years ago

erbb2 commented 2 years ago

Hi Everyone,

The pretrained chembl model has been provided which is really helpful. But to generate the new lead compounds, similar to that shown in step 4 in molecular translation procedure by using translate.py script. it requires a binary file but the pretrained chembl checkpoint provide is in ckpt format. In molecular generation procedure the step 4, suggests to sample the molecules from the model checkpoint which does take an ckpt file. this doesnt generate any new compounds similar to translate.py. How do i generate new compounds using the chembl model.ckpt file. Help would be really appreciated.

Thank you