You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to predict molecular properties using a pre-traind model. Howeber, I find that the predicted values are changing with a different number of input molecules and a different batchsize parameter in the predict() function. How to get unique values?
The text was updated successfully, but these errors were encountered:
Thank you for your quick reply. I attached the code files train_qm9.py (same as the original) and predict_qm9.py (just modified few lines). Our problem could be reproduced as follows:
training a qm9 model
python train_qm9.py
--method ggnn
--label A
--conv-layers 1
--gpu 0
--epoch 10
--unit-num 10
--num-data 100
predict the property of the first molecule
python predict_qm9.py
--method ggnn
--label A
--gpu -1
--num-data 1
predict the properties of the first 10 molecules
python predict_qm9.py
--method ggnn
--label A
--gpu -1
--num-data 10
I get the difference between predicted values of the first molecule at 2) and 3).
What we know is actually current GGNN model is not input size invariant. When 0-vector is padded for the "virtual node", its output value changes.
We are going to fix this by the following PR. #311
I am trying to predict molecular properties using a pre-traind model. Howeber, I find that the predicted values are changing with a different number of input molecules and a different batchsize parameter in the predict() function. How to get unique values?
The text was updated successfully, but these errors were encountered: