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
e79a7648
Commit
e79a7648
authored
Mar 08, 2014
by
Davis King
Browse files
removed cruft
parent
b48db9de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tools/python/src/simple_object_detector.h
tools/python/src/simple_object_detector.h
+2
-4
No files found.
tools/python/src/simple_object_detector.h
View file @
e79a7648
...
...
@@ -90,9 +90,7 @@ namespace dlib
inline
void
throw_invalid_box_error_message
(
const
std
::
string
&
dataset_filename
,
const
std
::
vector
<
std
::
vector
<
rectangle
>
>&
removed
,
const
simple_object_detector_training_options
&
options
,
const
unsigned
long
width
,
const
unsigned
long
height
const
simple_object_detector_training_options
&
options
)
{
image_dataset_metadata
::
dataset
data
;
...
...
@@ -180,7 +178,7 @@ namespace dlib
}
// if we weren't able to get all the boxes to match then throw an error
if
(
impl
::
contains_any_boxes
(
removed
))
impl
::
throw_invalid_box_error_message
(
dataset_filename
,
removed
,
options
,
width
,
height
);
impl
::
throw_invalid_box_error_message
(
dataset_filename
,
removed
,
options
);
if
(
options
.
add_left_right_image_flips
)
add_image_left_right_flips
(
images
,
boxes
,
ignore
);
...
...
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