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
75f66582
Commit
75f66582
authored
Jun 07, 2017
by
Grigoris
Committed by
Davis E. King
Jun 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor typo corrections in shape predictor trainer. (#633)
parent
362bec10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shape_predictor_trainer.h
dlib/image_processing/shape_predictor_trainer.h
+2
-2
No files found.
dlib/image_processing/shape_predictor_trainer.h
View file @
75f66582
...
...
@@ -400,7 +400,7 @@ namespace dlib
if
(
tp
.
num_threads_in_pool
()
>
1
)
{
// Here we need to calculate shape differences and store sum of differences into sums[0]
// to make it
I am splitting of
samples into blocks, each block will be processed by
// to make it
. I am splitting
samples into blocks, each block will be processed by
// separate thread, and the sum of differences of each block is stored into separate
// place in block_sums
...
...
@@ -719,7 +719,7 @@ namespace dlib
)
const
{
const
double
padding
=
get_feature_pool_region_padding
();
// Figure
figure
out the bounds on the object shapes. We will sample uniformly
// Figure out the bounds on the object shapes. We will sample uniformly
// from this box.
matrix
<
float
>
temp
=
reshape
(
initial_shape
,
initial_shape
.
size
()
/
2
,
2
);
const
double
min_x
=
min
(
colm
(
temp
,
0
))
-
padding
;
...
...
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