Skip to content

Commit

Permalink
removed save model logging
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 25, 2019
1 parent 08bf9e1 commit 7e728d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytorch_lightning/root_module/model_saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def on_hpc_load(self):
class TrainerIO(object):

def __get_model(self):
print(type(self.model))
is_dp_module = type(self.model) is LightningDistributedDataParallel or type(self.model) is LightningDataParallel
model = self.model.module if is_dp_module else self.model
return model
Expand Down

0 comments on commit 7e728d9

Please sign in to comment.