Skip to content

Commit

Permalink
small update for custom models with dropout
Browse files Browse the repository at this point in the history
  • Loading branch information
OMalenfantThuot committed Dec 14, 2020
1 parent 405ecb6 commit 398e8d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlcalcdriver/calculators/schnetpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(
os.environ["MODELDIR"] + model_dir, map_location=self.device
)
super(SchnetPackCalculator, self).__init__(units=units)
self.model.eval()
self._get_representation_type()

@property
Expand Down

0 comments on commit 398e8d4

Please sign in to comment.