@@ -350,16 +350,16 @@ public static void CheckVersionInfo(ref ModelHeader header, VersionInfo ver)
350
350
Contracts . CheckDecode ( header . ModelSignature == ver . ModelSignature , "Unknown file type" ) ;
351
351
Contracts . CheckDecode ( header . ModelVerReadable <= header . ModelVerWritten , "Corrupt file header" ) ;
352
352
if ( header . ModelVerReadable > ver . VerWrittenCur )
353
- throw Contracts . ExceptDecode ( "Cause: TLC {0} cannont read component '{1}' of the model, because the model is too new.\n " +
354
- "Suggestion: Make sure the model is trained with TLC {0} or older.\n " +
353
+ throw Contracts . ExceptDecode ( "Cause: ML.NET {0} cannont read component '{1}' of the model, because the model is too new.\n " +
354
+ "Suggestion: Make sure the model is trained with ML.NET {0} or older.\n " +
355
355
"Debug details: Maximum expected version {2}, got {3}." ,
356
356
typeof ( VersionInfo ) . Assembly . GetName ( ) . Version , ver . LoaderSignature , header . ModelVerReadable , ver . VerWrittenCur ) ;
357
357
if ( header . ModelVerWritten < ver . VerWeCanReadBack )
358
358
{
359
359
// Breaking backwards compatibility is something we should avoid if at all possible. If
360
360
// this message is observed, it may be a bug.
361
- throw Contracts . ExceptDecode ( "Cause: TLC {0} cannot read component '{1}' of the model, because the model is too old.\n " +
362
- "Suggestion: Make sure the model is trained with TLC {0}.\n " +
361
+ throw Contracts . ExceptDecode ( "Cause: ML.NET {0} cannot read component '{1}' of the model, because the model is too old.\n " +
362
+ "Suggestion: Make sure the model is trained with ML.NET {0}.\n " +
363
363
"Debug details: Minimum expected version {2}, got {3}." ,
364
364
typeof ( VersionInfo ) . Assembly . GetName ( ) . Version , ver . LoaderSignature , header . ModelVerReadable , ver . VerWrittenCur ) ;
365
365
}
0 commit comments