hgraph2graph
hgraph2graph copied to clipboard
TypeError: forward() missing 2 required positional arguments: 'y_orders' and 'beta'
I am using the train_translator.py for lead optimization and I am getting the following error. does anybody know how I can fix this?
Thanks,
Traceback (most recent call last):
File "/apps/hgraph2graph/20210428/hgraph2graph/train_translator.py", line 86, in
I am also running into this issue.
You can see if you default mode is "pair" when you run process.py. The correct single input format is that each molecule has three pieces of information, and the pairs input has five pieces of information, because 'x_orders' is not required, as shown in the figure below. https://tudingtu.cn/i/2023/02/20/in38hi.png “beta” is the hyperparameter VAE loss, which is used to control the ratio of reconstruction error to KL divergence loss.