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
820fd353
Unverified
Commit
820fd353
authored
Nov 17, 2020
by
Adrià Arrufat
Committed by
GitHub
Nov 16, 2020
Browse files
Make dnn_trainer print the minibatch size to ostream (#2236)
parent
375f1172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/dnn/trainer.h
dlib/dnn/trainer.h
+1
-0
No files found.
dlib/dnn/trainer.h
View file @
820fd353
...
@@ -1372,6 +1372,7 @@ namespace dlib
...
@@ -1372,6 +1372,7 @@ namespace dlib
out
<<
" get_train_one_step_calls(): "
<<
trainer
.
get_train_one_step_calls
()
<<
endl
;
out
<<
" get_train_one_step_calls(): "
<<
trainer
.
get_train_one_step_calls
()
<<
endl
;
out
<<
" synchronization file: "
<<
trainer
.
get_synchronization_file
()
<<
endl
;
out
<<
" synchronization file: "
<<
trainer
.
get_synchronization_file
()
<<
endl
;
out
<<
" trainer.get_solvers()[0]: "
<<
trainer
.
get_solvers
()[
0
]
<<
endl
;
out
<<
" trainer.get_solvers()[0]: "
<<
trainer
.
get_solvers
()[
0
]
<<
endl
;
out
<<
" mini batch size: "
<<
trainer
.
get_mini_batch_size
()
<<
endl
;
auto
sched
=
trainer
.
get_learning_rate_schedule
();
auto
sched
=
trainer
.
get_learning_rate_schedule
();
if
(
sched
.
size
()
!=
0
)
if
(
sched
.
size
()
!=
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