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
OpenDAS
Uni-Core
Commits
486f4f3d
Unverified
Commit
486f4f3d
authored
Sep 08, 2022
by
Guolin Ke
Committed by
GitHub
Sep 08, 2022
Browse files
fix logging in load checkpoint
parent
4c06a4fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
unicore/trainer.py
unicore/trainer.py
+3
-1
No files found.
unicore/trainer.py
View file @
486f4f3d
...
...
@@ -486,7 +486,9 @@ class Trainer(object):
)
else
:
logger
.
info
(
"No existing checkpoint found {}"
.
format
(
filename
))
logger
.
info
(
"Loaded checkpoint {}"
.
format
(
filename
)
)
return
extra_state
...
...
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