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
87292660
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "6398fbc391519ce033d97d23925fd13ec4ed85a7"
Commit
87292660
authored
Dec 09, 2011
by
Davis King
Browse files
Fixed a bug which caused the tests to fail if run more than once.
parent
0243b005
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dlib/test/sequence_labeler.cpp
dlib/test/sequence_labeler.cpp
+2
-0
No files found.
dlib/test/sequence_labeler.cpp
View file @
87292660
...
@@ -268,6 +268,8 @@ namespace
...
@@ -268,6 +268,8 @@ namespace
template
<
typename
fe_type
>
template
<
typename
fe_type
>
void
do_test
()
void
do_test
()
{
{
called_rejct_labeling
=
false
;
matrix
<
double
>
transition_probabilities
(
num_label_states
,
num_label_states
);
matrix
<
double
>
transition_probabilities
(
num_label_states
,
num_label_states
);
transition_probabilities
=
0.05
,
0.90
,
0.05
,
transition_probabilities
=
0.05
,
0.90
,
0.05
,
0.05
,
0.05
,
0.90
,
0.05
,
0.05
,
0.90
,
...
...
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