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
14acae38
Commit
14acae38
authored
Nov 05, 2017
by
Davis King
Browse files
Made unit tests more reliable
parent
31280b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dlib/test/dnn.cpp
dlib/test/dnn.cpp
+3
-1
No files found.
dlib/test/dnn.cpp
View file @
14acae38
...
...
@@ -2143,7 +2143,7 @@ namespace
trainer
.
set_learning_rate
(
1e-5
);
trainer
.
set_min_learning_rate
(
1e-11
);
trainer
.
set_mini_batch_size
(
50
);
trainer
.
set_max_num_epochs
(
3
00
);
trainer
.
set_max_num_epochs
(
20
00
);
trainer
.
train
(
x
,
y
);
running_stats
<
double
>
rs
;
...
...
@@ -2228,6 +2228,8 @@ namespace
{
print_spinner
();
srand
(
1234
);
const
int
output_width
=
7
;
const
int
output_height
=
7
;
const
int
num_samples
=
100
;
...
...
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