mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fix formatting in YOLO deserialize error message (#2535)
This commit is contained in:
parent
1f9f32ca97
commit
736b4931b7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user