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
My molecules all have charge=1 and I found I have to set charges to 1 / batch_size to get the correct results in batch mode. A simple example is as follows:
If I have charge = torch.tensor([1, 1], **dd) instead, I get the wrong energies:
[-34.02695165 -34.02703838]
which are the energies of the molecules as if their charges = 2.
So it seems that the charge tensor is multiplied by batch_size somewhere internally. I think this behavior is quite counter-intuitive and probably not the actually wanted behavior.
The text was updated successfully, but these errors were encountered:
My molecules all have charge=1 and I found I have to set charges to 1 / batch_size to get the correct results in batch mode. A simple example is as follows:
This gives the correct energy:
If I have
charge = torch.tensor([1, 1], **dd)
instead, I get the wrong energies:which are the energies of the molecules as if their charges = 2.
So it seems that the charge tensor is multiplied by batch_size somewhere internally. I think this behavior is quite counter-intuitive and probably not the actually wanted behavior.
The text was updated successfully, but these errors were encountered: