Skip to content

Commit 97b556b

Browse files
committed
Fix
1 parent 142ea3e commit 97b556b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

torchmdnet/module.py

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ def __init__(self, hparams, prior_model=None, mean=None, std=None):
6565
hparams["charge"] = False
6666
if "spin" not in hparams:
6767
hparams["spin"] = False
68+
if "overwrite_representation" not in hparams:
69+
hparams["overwrite_representation"] = None
70+
if "freeze_representation" not in hparams:
71+
hparams["freeze_representation"] = False
72+
if "reset_output_model" not in hparams:
73+
hparams["reset_output_model"] = False
6874

6975
self.save_hyperparameters(hparams)
7076

0 commit comments

Comments
 (0)