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
65c6a30e
Commit
65c6a30e
authored
Aug 07, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed all the structural SVM tools to use a default PSI cache size of 5.
parent
b5a90e52
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
12 deletions
+12
-12
structural_assignment_trainer.h
dlib/svm/structural_assignment_trainer.h
+1
-1
structural_assignment_trainer_abstract.h
dlib/svm/structural_assignment_trainer_abstract.h
+1
-1
structural_graph_labeling_trainer.h
dlib/svm/structural_graph_labeling_trainer.h
+1
-1
structural_graph_labeling_trainer_abstract.h
dlib/svm/structural_graph_labeling_trainer_abstract.h
+1
-1
structural_object_detection_trainer.h
dlib/svm/structural_object_detection_trainer.h
+1
-1
structural_object_detection_trainer_abstract.h
dlib/svm/structural_object_detection_trainer_abstract.h
+1
-1
structural_sequence_labeling_trainer.h
dlib/svm/structural_sequence_labeling_trainer.h
+1
-1
structural_sequence_labeling_trainer_abstract.h
dlib/svm/structural_sequence_labeling_trainer_abstract.h
+2
-2
structural_svm_problem.h
dlib/svm/structural_svm_problem.h
+1
-1
structural_svm_problem_abstract.h
dlib/svm/structural_svm_problem_abstract.h
+1
-1
assignment_learning.cpp
dlib/test/assignment_learning.cpp
+1
-1
No files found.
dlib/svm/structural_assignment_trainer.h
View file @
65c6a30e
...
...
@@ -208,7 +208,7 @@ namespace dlib
verbose
=
false
;
eps
=
0
.
1
;
num_threads
=
2
;
max_cache_size
=
40
;
max_cache_size
=
5
;
}
feature_extractor
fe
;
...
...
dlib/svm/structural_assignment_trainer_abstract.h
View file @
65c6a30e
...
...
@@ -49,7 +49,7 @@ namespace dlib
- this object isn't verbose
- #get_epsilon() == 0.1
- #get_num_threads() == 2
- #get_max_cache_size() ==
40
- #get_max_cache_size() ==
5
- #get_feature_extractor() == a default initialized feature_extractor
- #forces_assignment() == false
!*/
...
...
dlib/svm/structural_graph_labeling_trainer.h
View file @
65c6a30e
...
...
@@ -31,7 +31,7 @@ namespace dlib
verbose
=
false
;
eps
=
0
.
1
;
num_threads
=
2
;
max_cache_size
=
40
;
max_cache_size
=
5
;
loss_pos
=
1
.
0
;
loss_neg
=
1
.
0
;
}
...
...
dlib/svm/structural_graph_labeling_trainer_abstract.h
View file @
65c6a30e
...
...
@@ -47,7 +47,7 @@ namespace dlib
- this object isn't verbose
- #get_epsilon() == 0.1
- #get_num_threads() == 2
- #get_max_cache_size() ==
40
- #get_max_cache_size() ==
5
- #get_loss_on_positive_class() == 1.0
- #get_loss_on_negative_class() == 1.0
!*/
...
...
dlib/svm/structural_object_detection_trainer.h
View file @
65c6a30e
...
...
@@ -44,7 +44,7 @@ namespace dlib
verbose
=
false
;
eps
=
0
.
3
;
num_threads
=
2
;
max_cache_size
=
40
;
max_cache_size
=
5
;
match_eps
=
0
.
5
;
loss_per_missed_target
=
1
;
loss_per_false_alarm
=
1
;
...
...
dlib/svm/structural_object_detection_trainer_abstract.h
View file @
65c6a30e
...
...
@@ -51,7 +51,7 @@ namespace dlib
- this object isn't verbose
- #get_epsilon() == 0.3
- #get_num_threads() == 2
- #get_max_cache_size() ==
40
- #get_max_cache_size() ==
5
- #get_match_eps() == 0.5
- #get_loss_per_missed_target() == 1
- #get_loss_per_false_alarm() == 1
...
...
dlib/svm/structural_sequence_labeling_trainer.h
View file @
65c6a30e
...
...
@@ -241,7 +241,7 @@ namespace dlib
verbose
=
false
;
eps
=
0
.
1
;
num_threads
=
2
;
max_cache_size
=
40
;
max_cache_size
=
5
;
loss_values
.
assign
(
num_labels
(),
1
);
}
...
...
dlib/svm/structural_sequence_labeling_trainer_abstract.h
View file @
65c6a30e
...
...
@@ -48,7 +48,7 @@ namespace dlib
- this object isn't verbose
- #get_epsilon() == 0.1
- #get_num_threads() == 2
- #get_max_cache_size() ==
40
- #get_max_cache_size() ==
5
- #get_feature_extractor() == a default initialized feature_extractor
!*/
...
...
@@ -61,7 +61,7 @@ namespace dlib
- this object isn't verbose
- #get_epsilon() == 0.1
- #get_num_threads() == 2
- #get_max_cache_size() ==
40
- #get_max_cache_size() ==
5
- #get_feature_extractor() == fe
!*/
...
...
dlib/svm/structural_svm_problem.h
View file @
65c6a30e
...
...
@@ -215,7 +215,7 @@ namespace dlib
eps
(
0
.
001
),
verbose
(
false
),
skip_cache
(
true
),
max_cache_size
(
10
),
max_cache_size
(
5
),
C
(
1
)
{}
...
...
dlib/svm/structural_svm_problem_abstract.h
View file @
65c6a30e
...
...
@@ -29,7 +29,7 @@ namespace dlib
INITIAL VALUE
- get_epsilon() == 0.001
- get_max_cache_size() ==
10
- get_max_cache_size() ==
5
- get_c() == 1
- This object will not be verbose
...
...
dlib/test/assignment_learning.cpp
View file @
65c6a30e
...
...
@@ -299,7 +299,7 @@ namespace
DLIB_TEST
(
trainer
.
forces_assignment
()
==
false
);
DLIB_TEST
(
trainer
.
get_c
()
==
100
);
DLIB_TEST
(
trainer
.
get_num_threads
()
==
2
);
DLIB_TEST
(
trainer
.
get_max_cache_size
()
==
40
);
DLIB_TEST
(
trainer
.
get_max_cache_size
()
==
5
);
trainer
.
set_forces_assignment
(
force_assignment
);
...
...
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