Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony Larcher
sidekit
Commits
c73b1d5b
Commit
c73b1d5b
authored
Apr 08, 2021
by
Anthony Larcher
Browse files
monitor display
parent
0054678b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnet/xvector.py
View file @
c73b1d5b
...
...
@@ -353,7 +353,12 @@ class TrainingMonitor():
self
.
is_best
=
True
# Initialize the logger
init_logging
(
level
=
logging
.
DEBUG
,
filename
=
output_file
)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
'%(asctime)s %(name)-12s %(levelname)-8s %(message)s'
,
datefmt
=
'%m-%d %H:%M'
,
filename
=
output_file
,
filemode
=
'w'
)
self
.
logger
=
logging
.
getLogger
(
'monitoring'
)
self
.
logger
.
setLevel
(
logging
.
INFO
)
# create file handler which logs even debug messages
...
...
Write
Preview
Supports
Markdown
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