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
97c8bfca
"benchmarks/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "cbeda8302da0a05259d4d8f3d7c36b5cbd478dd4"
Commit
97c8bfca
authored
Sep 15, 2011
by
Davis King
Browse files
Fixed bugs in asserts.
parent
51491c8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
dlib/image_processing/object_detector.h
dlib/image_processing/object_detector.h
+1
-1
dlib/svm/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