Repository navigation
Replies: 1 comment
|
Never mind I solved it :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Thank you for your great code!
These days I put some code for my work (calculate atomic virial)
And I have a problem for get_outputs function
I tried to get atomic virial from edge information like this
here is what I fix
mace/modules/utils.pyhttps://github.com/pobo95/mace/blob/5d6c16cd3c01246f8435388aefe8957574cf1a72/mace/modules/utils.py#L76-L135
and
https://github.com/pobo95/mace/blob/5d6c16cd3c01246f8435388aefe8957574cf1a72/mace/modules/utils.py#L176-L219
and
'mace/modules/models.pyhttps://github.com/pobo95/mace/blob/5d6c16cd3c01246f8435388aefe8957574cf1a72/mace/modules/models.py#L247-L260
but when I run this code
I got
TypeError: get_outputs() missing 3 required positional arguments: 'batch', 'edge_index', and 'vectors'this errorhere is my questions
Thank you for your help again!
All reactions