Fix formatting in YOLO deserialize error message (#2535)

This commit is contained in:
Adrià Arrufat 2022-03-04 20:28:28 +09:00 committed by GitHub
parent 1f9f32ca97
commit 736b4931b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }