Skip to content

Commit

Permalink
._module -> .module
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Aug 29, 2024
1 parent f5b3527 commit e297fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_predictions_compatibility(cutoff):
"neighbors_pos": batch.neighbors_pos,
}

pet = model._module.pet
pet = model.module.pet

pet_prediction = pet.forward(batch_dict)

Expand Down
2 changes: 1 addition & 1 deletion src/metatrain/utils/llpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
super().__init__()

self.model = model
self.ll_feat_size = self.model._module.last_layer_feature_size
self.ll_feat_size = self.model.module.last_layer_feature_size

# update capabilities: now we have additional outputs for the uncertainty
old_capabilities = self.model.capabilities()
Expand Down

0 comments on commit e297fad

Please sign in to comment.