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
736b4931
Unverified
Commit
736b4931
authored
Mar 04, 2022
by
Adrià Arrufat
Committed by
GitHub
Mar 04, 2022
Browse files
Fix formatting in YOLO deserialize error message (#2535)
parent
1f9f32ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/loss.h
dlib/dnn/loss.h
+1
-1
No files found.
dlib/dnn/loss.h
View file @
736b4931
...
@@ -3906,7 +3906,7 @@ namespace dlib
...
@@ -3906,7 +3906,7 @@ namespace dlib
if
(
count
!=
tag_count
())
if
(
count
!=
tag_count
())
throw
serialization_error
(
"Invalid number of detection tags "
+
std
::
to_string
(
count
)
+
throw
serialization_error
(
"Invalid number of detection tags "
+
std
::
to_string
(
count
)
+
", while deserializing dlib::loss_yolo_, expecting "
+
", while deserializing dlib::loss_yolo_, expecting "
+
std
::
to_string
(
tag_count
())
+
"tags instead."
);
std
::
to_string
(
tag_count
())
+
"
tags instead."
);
deserialize
(
item
.
options
,
in
);
deserialize
(
item
.
options
,
in
);
}
}
...
...
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