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
2c45ab5e
Commit
2c45ab5e
authored
May 06, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slightly improved messages from some asserts.
parent
b0e4bcb6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
structural_graph_labeling_trainer.h
dlib/svm/structural_graph_labeling_trainer.h
+1
-0
structural_svm_graph_labeling_problem.h
dlib/svm/structural_svm_graph_labeling_problem.h
+4
-1
No files found.
dlib/svm/structural_graph_labeling_trainer.h
View file @
2c45ab5e
...
...
@@ -135,6 +135,7 @@ namespace dlib
// make sure requires clause is not broken
DLIB_ASSERT
(
is_graph_labeling_problem
(
samples
,
labels
),
"
\t
void structural_graph_labeling_trainer::train()"
<<
"
\n\t
Invalid inputs were given to this function."
<<
"
\n\t
samples.size(): "
<<
samples
.
size
()
<<
"
\n\t
labels.size(): "
<<
labels
.
size
()
<<
"
\n\t
this: "
<<
this
...
...
dlib/svm/structural_svm_graph_labeling_problem.h
View file @
2c45ab5e
...
...
@@ -144,7 +144,10 @@ namespace dlib
// make sure requires clause is not broken
DLIB_ASSERT
(
is_graph_labeling_problem
(
samples
,
labels
)
==
true
,
"
\t
structural_svm_graph_labeling_problem::structural_svm_graph_labeling_problem()"
<<
"
\n\t
invalid inputs were given to this function"
);
<<
"
\n\t
Invalid inputs were given to this function."
<<
"
\n\t
samples.size(): "
<<
samples
.
size
()
<<
"
\n\t
labels.size(): "
<<
labels
.
size
()
<<
"
\n\t
this: "
<<
this
);
// figure out how many dimensions are in the node and edge vectors.
...
...
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