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
dlib
Commits
356bba38
"docker/vscode:/vscode.git/clone" did not exist on "0583a8d12ae903092f1e638cbc78cb03aab6ee9d"
Commit
356bba38
authored
Jan 17, 2020
by
Juha Reunanen
Committed by
Davis E. King
Jan 16, 2020
Browse files
Minor fix: print to console only if the verbose flag is on (#1980)
parent
d766f5e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dlib/dnn/trainer.h
dlib/dnn/trainer.h
+3
-1
No files found.
dlib/dnn/trainer.h
View file @
356bba38
...
...
@@ -1047,7 +1047,9 @@ namespace dlib
// lower one instead.
if
(
prob_loss_increasing_thresh
>=
prob_loss_increasing_thresh_max_value
)
{
if
(
verbose
)
std
::
cout
<<
"(and while at it, also shrinking the learning rate)"
<<
std
::
endl
;
learning_rate
=
learning_rate_shrink
*
learning_rate
;
steps_without_progress
=
0
;
test_steps_without_progress
=
0
;
...
...
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