updated args

This commit is contained in:
William Falcon committed 2019-06-25 19:18:27 -04:00
1 parent 89410e9090
commit e801914d1d
1 file changed
+1
+1
View File
@@ -163,6 +163,7 @@ class Trainer(TrainerIO):
# enable eval mode
model.zero_grad()
model.eval()
model.from_lightning = True
# disable gradients to save memory
torch.set_grad_enabled(False)