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
63e17485
Commit
63e17485
authored
Dec 26, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed constness bug
parent
7a6ec2f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cross_validate_object_detection_trainer.h
dlib/svm/cross_validate_object_detection_trainer.h
+1
-1
No files found.
dlib/svm/cross_validate_object_detection_trainer.h
View file @
63e17485
...
...
@@ -205,7 +205,7 @@ namespace dlib
impl
::
array_subset_helper
<
image_array_type
>
array_subset
(
images
,
train_idx_set
);
const
typename
trainer_type
::
trained_function_type
&
detector
=
trainer
.
train
(
array_subset
,
training_rects
);
typename
trainer_type
::
trained_function_type
detector
=
trainer
.
train
(
array_subset
,
training_rects
);
for
(
unsigned
long
i
=
0
;
i
<
test_idx_set
.
size
();
++
i
)
{
const
std
::
vector
<
rectangle
>&
hits
=
detector
(
images
[
test_idx_set
[
i
]]);
...
...
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