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
bb0f764c
Commit
bb0f764c
authored
May 22, 2013
by
Davis King
Browse files
Fixed serialization bug
parent
4f55291b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dlib/svm/sequence_segmenter.h
dlib/svm/sequence_segmenter.h
+1
-2
No files found.
dlib/svm/sequence_segmenter.h
View file @
bb0f764c
...
...
@@ -421,6 +421,7 @@ namespace dlib
deserialize
(
use_BIO_model
,
in
);
deserialize
(
use_high_order_features
,
in
);
deserialize
(
dims
,
in
);
deserialize
(
item
.
labeler
,
in
);
if
(
use_BIO_model
!=
feature_extractor
::
use_BIO_model
)
{
throw
serialization_error
(
"Incompatible feature extractor found while deserializing "
...
...
@@ -436,8 +437,6 @@ namespace dlib
throw
serialization_error
(
"Incompatible feature extractor found while deserializing "
"dlib::sequence_segmenter. Wrong value of total_feature_vector_size()."
);
}
deserialize
(
item
.
labeler
,
in
);
}
private:
...
...
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