Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
4a408d5e
Commit
4a408d5e
authored
Sep 05, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed example
parent
d5dc371f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dnn_mmod_ex.cpp
examples/dnn_mmod_ex.cpp
+3
-2
No files found.
examples/dnn_mmod_ex.cpp
View file @
4a408d5e
...
...
@@ -154,8 +154,9 @@ int main(int argc, char** argv) try
cropper
.
set_chip_dims
(
200
,
200
);
cropper
.
set_min_object_height
(
0.2
);
dlib
::
rand
rnd
;
// Run the trainer until the learning rate gets small
while
(
false
&&
trainer
.
get_learning_rate
()
>=
1e-4
)
// Run the trainer until the learning rate gets small. This will probably take several
// hours.
while
(
trainer
.
get_learning_rate
()
>=
1e-4
)
{
cropper
(
150
,
images_train
,
face_boxes_train
,
mini_batch_samples
,
mini_batch_labels
);
// We can also randomly jitter the colors and that often helps a detector
...
...
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