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
b2a0bae4
Commit
b2a0bae4
authored
Feb 01, 2018
by
Davis King
Browse files
Added warning about crazy training data.
parent
a05b8651
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dlib/image_processing/shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer.h
+5
-0
No files found.
dlib/image_processing/shape_predictor_trainer.h
View file @
b2a0bae4
...
...
@@ -353,6 +353,11 @@ namespace dlib
shape
(
2
*
i
+
1
)
=
p
.
y
();
present
(
2
*
i
)
=
1
;
present
(
2
*
i
+
1
)
=
1
;
if
(
length
(
p
)
>
100
)
{
std
::
cout
<<
"Warning, one of your objects has parts that are way outside its bounding box! This is probably an error in your annotation."
<<
std
::
endl
;
}
}
else
{
...
...
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