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
97c8bfca
Commit
97c8bfca
authored
Sep 16, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs in asserts.
parent
51491c8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
object_detector.h
dlib/image_processing/object_detector.h
+1
-1
cross_validate_object_detection_trainer.h
dlib/svm/cross_validate_object_detection_trainer.h
+2
-0
No files found.
dlib/image_processing/object_detector.h
View file @
97c8bfca
...
...
@@ -154,7 +154,7 @@ namespace dlib
{
// make sure requires clause is not broken
DLIB_ASSERT
(
scanner_
.
get_num_detection_templates
()
>
0
&&
w_
.
size
()
==
scanner
.
get_num_dimensions
()
+
1
,
w_
.
size
()
==
scanner
_
.
get_num_dimensions
()
+
1
,
"
\t
object_detector::object_detector(scanner_,overlap_tester,w_)"
<<
"
\n\t
Invalid inputs were given to this function "
<<
"
\n\t
scanner_.get_num_detection_templates(): "
<<
scanner_
.
get_num_detection_templates
()
...
...
dlib/svm/cross_validate_object_detection_trainer.h
View file @
97c8bfca
...
...
@@ -130,6 +130,8 @@ namespace dlib
>
struct
array_subset_helper
{
typedef
typename
array_type
::
mem_manager_type
mem_manager_type
;
array_subset_helper
(
const
array_type
&
array_
,
const
std
::
vector
<
unsigned
long
>&
idx_set_
...
...
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