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
a1775d1b
Commit
a1775d1b
authored
Sep 15, 2011
by
Davis King
Browse files
Added some comments.
parent
cdcbe6dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/svm/structural_object_detection_trainer.h
dlib/svm/structural_object_detection_trainer.h
+3
-0
No files found.
dlib/svm/structural_object_detection_trainer.h
View file @
a1775d1b
...
...
@@ -248,8 +248,11 @@ namespace dlib
svm_prob
.
set_loss_per_missed_target
(
loss_per_missed_target
);
svm_prob
.
set_loss_per_false_alarm
(
loss_per_false_alarm
);
matrix
<
double
,
0
,
1
>
w
;
// Run the optimizer to find the optimal w.
solver
(
svm_prob
,
w
);
// report the results of the training.
return
object_detector
<
image_scanner_type
,
overlap_tester_type
>
(
scanner
,
overlap_tester
,
w
);
}
...
...
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