From 1fc117e1ab4c29e41dcb826880e0b8930c6f9258 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 17 Apr 2016 14:35:40 -0400 Subject: [PATCH] Clarified error message --- dlib/dnn/trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/dnn/trainer.h b/dlib/dnn/trainer.h index 5ece842db..53784e964 100644 --- a/dlib/dnn/trainer.h +++ b/dlib/dnn/trainer.h @@ -539,7 +539,7 @@ namespace dlib { std::ostringstream sout; sout << "Error deserializing dlib::dnn_trainer. The saved sync file is for a network with " << std::endl; - sout << "a different number of layers. We expected the number of layers to be " << dnn_trainer::num_computational_layers << " but" << std::endl; + sout << "a different number of layers. We expected the number of computational layers to be " << dnn_trainer::num_computational_layers << " but" << std::endl; sout << "instead the file contains " << num_computational_layers << " computational layers." << std::endl; throw serialization_error(sout.str()); }