added clean slurm save load test

This commit is contained in:
William Falcon 2019-07-26 23:16:03 -04:00
parent 4cacb5a21b
commit 8e7d3c6737
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ pretrained_model = MyLightningModule.load_from_metrics(
)
# predict
pretrained_model.eval()
pretrained_model.freeze()
y_hat = pretrained_model(x)
```