added clean slurm save load test
This commit is contained in:
parent
4cacb5a21b
commit
8e7d3c6737
|
@ -21,7 +21,8 @@ pretrained_model = MyLightningModule.load_from_metrics(
|
||||||
map_location=None
|
map_location=None
|
||||||
)
|
)
|
||||||
|
|
||||||
# predict
|
# predict
|
||||||
|
pretrained_model.eval()
|
||||||
pretrained_model.freeze()
|
pretrained_model.freeze()
|
||||||
y_hat = pretrained_model(x)
|
y_hat = pretrained_model(x)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue