diff --git a/dlib/dnn/loss.h b/dlib/dnn/loss.h index 87ccc1f4d..176605d79 100644 --- a/dlib/dnn/loss.h +++ b/dlib/dnn/loss.h @@ -3906,7 +3906,7 @@ namespace dlib if (count != tag_count()) throw serialization_error("Invalid number of detection tags " + std::to_string(count) + ", while deserializing dlib::loss_yolo_, expecting " + - std::to_string(tag_count()) + "tags instead."); + std::to_string(tag_count()) + " tags instead."); deserialize(item.options, in); }