"examples/vscode:/vscode.git/clone" did not exist on "a3badaf1031a1f74bdcc58a60dfb24bfe3c99451"
Unverified Commit 06834bc3 authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Logs should not be hidden behind a logger.info (#6097)

parent dafa296c
...@@ -646,7 +646,7 @@ class Trainer: ...@@ -646,7 +646,7 @@ class Trainer:
if iterator is not None: if iterator is not None:
iterator.write(output) iterator.write(output)
else: else:
logger.info(output) print(output)
def _prepare_inputs( def _prepare_inputs(
self, inputs: Dict[str, Union[torch.Tensor, Any]], model: nn.Module self, inputs: Dict[str, Union[torch.Tensor, Any]], model: nn.Module
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment