mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
added clean slurm save load test
This commit is contained in:
@@ -21,7 +21,8 @@ pretrained_model = MyLightningModule.load_from_metrics(
|
||||
map_location=None
|
||||
)
|
||||
|
||||
# predict
|
||||
# predict
|
||||
pretrained_model.eval()
|
||||
pretrained_model.freeze()
|
||||
y_hat = pretrained_model(x)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user