Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
06834bc3
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "517eaf460b06936f41c0d3c5c92c2c7feaf61fc7"
Unverified
Commit
06834bc3
authored
Jul 28, 2020
by
Lysandre Debut
Committed by
GitHub
Jul 28, 2020
Browse files
Logs should not be hidden behind a logger.info (#6097)
parent
dafa296c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer.py
src/transformers/trainer.py
+1
-1
No files found.
src/transformers/trainer.py
View file @
06834bc3
...
...
@@ -646,7 +646,7 @@ class Trainer:
if
iterator
is
not
None
:
iterator
.
write
(
output
)
else
:
logger
.
info
(
output
)
print
(
output
)
def
_prepare_inputs
(
self
,
inputs
:
Dict
[
str
,
Union
[
torch
.
Tensor
,
Any
]],
model
:
nn
.
Module
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment