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
0f2753b7
Commit
0f2753b7
authored
Aug 06, 2017
by
Davis King
Browse files
Changed how we print the network hash.
parent
7b26b2d1
Changes
1
Hide 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 @
0f2753b7
...
@@ -1281,7 +1281,9 @@ namespace dlib
...
@@ -1281,7 +1281,9 @@ namespace dlib
temp
.
clean
();
temp
.
clean
();
serialize
(
temp
,
sout
);
serialize
(
temp
,
sout
);
out
<<
" net size: "
<<
sout
.
str
().
size
()
/
1024.0
/
1024.0
<<
"MB"
<<
endl
;
out
<<
" net size: "
<<
sout
.
str
().
size
()
/
1024.0
/
1024.0
<<
"MB"
<<
endl
;
out
<<
" net architecture hash: "
<<
md5
(
cast_to_string
(
trainer
.
get_net
()))
<<
endl
;
// Don't include the loss params in the hash since we print them on the next line.
// They also aren't really part of the "architecture" of the network.
out
<<
" net architecture hash: "
<<
md5
(
cast_to_string
(
trainer
.
get_net
().
subnet
()))
<<
endl
;
out
<<
" loss: "
<<
trainer
.
get_net
().
loss_details
()
<<
endl
;
out
<<
" loss: "
<<
trainer
.
get_net
().
loss_details
()
<<
endl
;
out
<<
" synchronization file: "
<<
trainer
.
get_synchronization_file
()
<<
endl
;
out
<<
" synchronization file: "
<<
trainer
.
get_synchronization_file
()
<<
endl
;
...
...
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