Clarified error message

This commit is contained in:
Davis King 2016-04-17 14:35:40 -04:00
parent d85de930a4
commit 1fc117e1ab
1 changed files with 1 additions and 1 deletions

View File

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