wengong-jin / hgraph2graph

Hierarchical Generation of Molecular Graphs using Structural Motifs
MIT License
367 stars 108 forks source link

All assm_labels are zero? #31

Open Luckick opened 2 years ago

Luckick commented 2 years ago

Hi Wengong,

In the decode process, it seems all the assm_labels are 0. Why do we need to train the get_assm_score if "#the label is always the first of assm_cands"? https://github.com/wengong-jin/hgraph2graph/blob/e396dbaf43f9d4ac2ee2568a4d5f93ad9e78b767/hgraph/decoder.py#L249