Skip to content

Commit

Permalink
bring in prior_model from PyG visnet
Browse files Browse the repository at this point in the history
Co-authored-by: kaminow <51923685+kaminow@users.noreply.github.com>
  • Loading branch information
fyng and kaminow authored Jan 31, 2024
1 parent 48721fb commit ffa571c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mtenn/conversion_utils/visnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def forward(self, data):
x = self.visnet.output_model.pre_reduce(x, v)
x = x * self.visnet.std

if self.visnet.prior_model is not None:
x = self.visnet.prior_model(x, z)

return x

def _get_representation(self):
Expand Down

0 comments on commit ffa571c

Please sign in to comment.