mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
fixed hpc save, load. cleaned apu
This commit is contained in:
1 parent
348223a702
commit
a6ae97ac09
1 file changed
+1
-1
@@ -115,7 +115,7 @@ def test_model_saving_loading():
|
||||
# make prediction
|
||||
# assert that both predictions are the same
|
||||
new_pred = model_2(x)
|
||||
assert torch.eq(pred_before_saving, new_pred)
|
||||
assert torch.all(torch.eq(pred_before_saving, new_pred)).item() == 1
|
||||
|
||||
clear_save_dir()
|
||||
|
||||
|
||||
Reference in new issue
Block a user