Skip to content

Commit

Permalink
use log no print (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Feb 25, 2020
1 parent 5dd2afe commit 5d89fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def forward(self, x):
"""
if self.trainer.proc_rank == 0:
print(*args, **kwargs)
log.info(*args, **kwargs)

@abstractmethod
def forward(self, *args, **kwargs):
Expand Down

0 comments on commit 5d89fed

Please sign in to comment.