removed self.model refs
This commit is contained in:
parent
42fe76f794
commit
301a4992f4
|
@ -268,7 +268,6 @@ class Trainer(TrainerIO):
|
|||
|
||||
# put on gpu if needed
|
||||
if self.on_gpu:
|
||||
model.cuda()
|
||||
model = LightningDataParallel(model, device_ids=self.data_parallel_device_ids)
|
||||
|
||||
# run tiny validation to make sure program won't crash during val
|
||||
|
|
Loading…
Reference in New Issue