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
2c45ab5e
"vscode:/vscode.git/clone" did not exist on "e9b097f1ad5fc6894bd0c56386344da4fffa7d47"
Commit
2c45ab5e
authored
May 06, 2012
by
Davis King
Browse files
Slightly improved messages from some asserts.
parent
b0e4bcb6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
dlib/svm/structural_graph_labeling_trainer.h
dlib/svm/structural_graph_labeling_trainer.h
+1
-0
dlib/svm/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